Skip to:
Content

BuddyPress.org

Ticket #1159: 1159.diff

File 1159.diff, 488 bytes (added by dat_paulchen, 15 years ago)
  • bp-status.php

     
    8484function bp_status_action_add() {
    8585        global $bp;
    8686
    87         if ( $bp->current_component != BP_STATUS_SLUG && 'add' != $bp->current_action )
     87        if ( $bp->current_component != BP_STATUS_SLUG || 'add' != $bp->current_action )
    8888                return false;
    8989       
    9090        if ( !check_admin_referer( 'bp_status_add_status', '_wpnonce_add_status' ) )