pro120
Forum Replies Created
-
I had this error but with the core paste from word tinymce plugin.
If you are using one of the popular WordPress nginx configs that are available with a google search. I adjust the following line to include htm and it fixed the problem.
location ~* \.(jpg|jpeg|gif|css|png|js|ico|html|htm)$ { access_log off; expires max; }Hope that works for you.
Forum: Plugins
In reply to: [Facebook] Fatal error in facebook-wp.php on line 77Temp fix I worked up..
http://ww.wp.xz.cn/support/topic/fix-for-facebook_wpgetappsecret-error-on-line-77?replies=1
Forum: Plugins
In reply to: [Facebook] WordPress and Facebook FAILForum: Plugins
In reply to: [Plugin: JSON API] Querying on multi-site instanceI recently needed a solution for this. Here is my fix.
I added the following lines just below the included files of json-api.php
if( isset($_GET['siteid']) ) { global $site_id; $site_id = $_GET['site_id']; switch_to_blog($site_id); }You would just include the site id in your query string like so
http://example.com/api/?siteid=3&id=43&post_type=attachmentThis was using wordpress 3.2.1
I don’t think the global $site_id declaration was 100% necessary but shouldn’t hurt.
its in the framework folder
I removed the if statements relating to the $wp_version inside compatibility.php and the function calls correctly.