Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1159 closed defect (bug) (fixed)

/MyPlugin/add/ is treated as /status/add/

Reported by: dat_paulchen's profile dat_paulchen Owned by:
Milestone: 1.1.1 Priority: major
Severity: Version:
Component: Keywords:
Cc:

Description

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.

Attachments (1)

1159.diff (488 bytes) - added by dat_paulchen 15 years ago.

Download all attachments as: .zip

Change History (3)

@dat_paulchen
15 years ago

#1 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [2034]) Fixes #1159 props dat_paulchen

#2 @apeatling
15 years ago

  • Milestone set to 1.1.1
Note: See TracTickets for help on using tickets.