init action no longer working after BuddyPress 1.5.5 install
-
We’re running WordPress 3.3.2. After upgrading BuddyPress to 1.5.5, some of the functions in our WordPress plugins have stopped running if they hook WordPress’s “init” action. For example, in this code:
`error_log(“one”);
function foo() {
error_log(“two”);
}
add_action(“init”, “foo”);
error_log(“three”);`the strings “one” and “three” get written to the error log (proving that the PHP file is being loaded), but “two” never happens. This problem is also mentioned on StackOverflow:
http://stackoverflow.com/questions/9895881/buddypress-wiki-component-action-on-init-not-called
Any ideas how to debug this? Or is it a known bug? Thanks.
- The topic ‘init action no longer working after BuddyPress 1.5.5 install’ is closed to new replies.