[buddypress-trac] [BuddyPress] #4195: functions tied to "init" action do not run

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue May 8 19:17:56 UTC 2012

#4195: functions tied to "init" action do not run
 Reporter:  dbvista       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Core          |     Version:  1.5.5
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |

Comment (by boonebgorges):

 > We are not running BuddyPress Wiki, but our other plugins were also
 using bp_init.

 Yeah, a pretty fair number of plugins are. The truth is that using
 `bp_init` works fine in most cases - unless you *also* try to hook an
 internal function to `init`. (The reason is because `bp_init` is itself
 hooked to `init` at priority 10, which creates a race condition that the
 hooked function often loses.) This is one of the reasons why `bp_include`
 was introduced around BP 1.2.6.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4195#comment:4>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list