[buddypress-trac] [BuddyPress] #3625: Core functions should not hook to bp_init with default priority

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Sep 26 21:29:24 UTC 2011


#3625: Core functions should not hook to bp_init with default priority
-------------------------------------+------------------
 Reporter:  boonebgorges             |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  1.6
Component:  Core                     |     Version:  1.5
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------

Comment (by webraket):

 You probably can't reproduce because I load plugins from /mu-plugins.
 /mu-plugins are always loaded before /plugins/buddypress

 Your patch makes this a little worse, because if you move the ajax
 function to bp_init priority=8, it also breaks (plugins hooked to bp_init
 with default priority=10) when BuddyPress "IS" loaded before the actual
 plugin.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3625#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list