在更新插件和Wordpress
. 我一直在使用的所有Facebook小部件都消失了。在代码中,我看到:
<fb:like href=\'http://facebook.com/...\' send=\'false\' layout=\'standard\' show_faces=\'false\' width=\'200\' height=\'65\' action=\'like\' colorscheme=\'light\' font=\'lucida grande\'></fb:like>
还有剧本:
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({"appId":"...","channelUrl":"http:\\/\\/...\\/?sfc-channel-file=1","status":true,"cookie":true,"xfbml":true,"oauth":true});
};
(function(d){
var js, id = \'facebook-jssdk\'; if (d.getElementById(id)) {return;}
js = d.createElement(\'script\'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/pl_PL/all.js";
d.getElementsByTagName(\'head\')[0].appendChild(js);
}(document));
</script>
<script type="text/javascript">
(function() {
var request, b = document.body, c = \'className\', cs = \'customize-support\', rcs = new RegExp(\'(^|\\\\s+)(no-)?\'+cs+\'(\\\\s+|$)\');
request = true;
b[c] = b[c].replace( rcs, \' \' );
b[c] += ( window.postMessage && request ? \' \' : \' no-\' ) + cs;
}());
</script>
有什么遗漏吗?更新期间可以更改哪些内容?
If you need a full code.