[buddypress-trac] [BuddyPress] #1159: /MyPlugin/add/ is treated as /status/add/

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Oct 3 11:40:16 UTC 2009

#1159: /MyPlugin/add/ is treated as /status/add/
Reporter:  dat_paulchen  |       Owner:     
    Type:  defect        |      Status:  new
Priority:  major         |   Milestone:     
Keywords:                |  
 ''bp_status_action_add''() returns only ''false'' if
 ''$bp->current_component'' is not equal to ''BP_STATUS_SLUG'' '''AND'''
 ''$bp->current_action'' doesn't equal 'add'. This means that whenever
 ''$bp->current_action'' is 'add', ''bp_status_action_add''() will take
 over and start checking for the appropriate nonce which will most likely
 result in the AYS-screen.

 Fix attached.

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

More information about the buddypress-trac mailing list