[buddypress-trac] [BuddyPress] #3100: "bp-members" do_actions issue

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Mar 6 03:46:43 UTC 2011

#3100: "bp-members" do_actions issue
 Reporter:  r-a-y         |      Owner:
     Type:  defect        |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.3
 Keywords:  dev-feedback  |
 During the refactoring of "bp-core" to "bp-members", all member do_actions
 were renamed to "bp_members_x" from "bp_core_x".

 Plugins that used these do_actions will no longer work in BP 1.3.


 Should these actions be renamed back to "bp_core_x"?

 Or should we just add an additional do_action for "bp_core_x"?


 // Deprecated do_action
 do_action( 'bp_core_action_set_spammer_status', $bp->displayed_user->id,
 $is_spam );

 do_action( 'bp_members_action_set_spammer_status',
 $bp->displayed_user->id, $is_spam );

 Or are plugin developers encouraged to update their hooks for BP 1.3?

Ticket URL: <https://trac.buddypress.org/ticket/3100>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list