[buddypress-trac] [BuddyPress Trac] #7221: Consider executing "friends_action_add_friend" not during WP`s init()

buddypress-trac noreply at wordpress.org
Sat Aug 13 20:10:52 UTC 2016


#7221: Consider executing "friends_action_add_friend" not during WP`s init()
-------------------------+------------------
 Reporter:  wpdennis     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.7
Component:  Friends      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------
Changes (by r-a-y):

 * keywords:  dev-feedback => has-patch
 * milestone:  Awaiting Review => 2.7


Comment:

 Good catch, wpdennis!

 Looks like some old code.  We should probably use the `'bp_actions'` hook
 instead of `'bp_init'`.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7221#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list