[buddypress-trac] [BuddyPress] #2325: Changing hooked-to action functions to make new BP hooks work for 3rd-party components
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Mon Jun 28 18:48:34 UTC 2010
#2325: Changing hooked-to action functions to make new BP hooks work for 3rd-party
components
--------------------------------------+-------------------------------------
Reporter: jeffsayre | Owner: johnjamesjacoby
Type: defect | Status: closed
Priority: major | Milestone: 1.3
Component: Core | Resolution: fixed
Keywords: has-patch, needs-testing |
--------------------------------------+-------------------------------------
Comment(by johnjamesjacoby):
Yep exactly right. That's why I originally kept bp_init loading before the
other actions. If you used bp_init as your overall loader, it would never
have the chance to hook into the other core actions.
I had to update all my plugins also, but I saw another ticket saying the
adverse.
Either way, this is going to be a pain, and plugin authors might need to
adapt their plugins this last and final time. I believe we have all the
bases covered finally.
To be fair, WordPress doesn't fire its "init" action until the very end of
wp-settings.php, so this mirrors that. Plugin authors could hook really
early into "bp_loaded" or anywhere on to "bp_include" and be fine going
forward if they also need to attach to the other core actions.
I hate zebras.
--
Ticket URL: <http://trac.buddypress.org/ticket/2325#comment:22>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list