我有用于列出社交图标的短代码。我已经注释掉了短代码功能,以防止任何可能由短代码回调函数引起的错误。我有很多短代码选项,所以我们在下面有短代码:
[socials profiles="facebook twitter linked in youtube vimeo stackoverflow pagelines weibo yelp bitcoin foursquare maxcdn stackexchange xing bitbucket trello github flickr google plus pinterest tumblr dribbble instagram dropbox skype renren" size="small" colored_bg="yes" active_bg="yes" jump="yes" jump_bg="yes" round=yes]
短代码功能本身:
<?php
add_shortcode('socials', 'shortcode_socials');
function shortcode_socials($atts, $content = null)
{
$str = 'a';
return $str;
}
此短代码将导致连续的网页加载,然后重新启动网络服务器。
从apache日志: [2014年12月8日02:35:48] [通知]父:子进程退出状态3221225725 - 重新启动。
短码属性数量或长度是否有任何限制?
提前致谢!