Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/14/2011 05:19:12 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Find/replace on is_super_admin() to use bp_current_user_can( 'bp_moderate' ). See #3740.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-template.php

    r5302 r5329  
    170170    extract( $r, EXTR_SKIP );
    171171
    172     if ( 'notices' == $bp->current_action && !is_super_admin() ) {
     172    if ( 'notices' == $bp->current_action && !bp_current_user_can( 'bp_moderate' ) ) {
    173173        wp_redirect( bp_displayed_user_id() );
    174174    } else {
Note: See TracChangeset for help on using the changeset viewer.