[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 19:55:26 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 boonebgorges):

 > I think setting it to 8 does hurt some things, for example the title is
 set at priority 9.
  http://buddypress.trac.wordpress.org/browser/trunk/bp-core/bp-core-
 hooks.php#L33

 I don't think that hurts anything.

 > Even if a plugin hooks to bp_init with priority 1, BuddyPress should be
 fully initialised at that point.

 Maybe. But that will require a pretty massive overhaul of load order. Our
 entire initialization routine runs on bp_init.

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


More information about the buddypress-trac mailing list