[Plugin: Facebook] Plugin not working with WP 3.1.X
-
Like I have written in my (German) blog there are two function calls that are not (correct) working with WordPress versions less than 3.2!
1) The function
fb_js_sdk_setup()
in file fb-core.php uses thewp_enqueue_script()
function that has to be called using the Action-Hooks ‘wp_enqueue_scripts‘ and / or ‘admin_enqueue_scripts‘! Otherwise the Facebook Connect Javascript file is not loaded…2) Additionally, the Action-Hook ‘wp_footer‘ is not called in the backend! Therefore you must add a ‘admin_footer‘-Hook, too…
But even after writing these both hacks it does not run 🙁 because of an JavaScript Error that appears just for seconds after clicking the “Link your Facebook account to your WordPress account”-link. It says that one frame is not allowed to modify another one that has not the same URL…
Any ideas, tips, or hints?
- The topic ‘[Plugin: Facebook] Plugin not working with WP 3.1.X’ is closed to new replies.