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-xprofile/bp-xprofile-template.php

    r5301 r5329  
    661661
    662662        // Super admins can skip required check
    663         if ( is_super_admin() && !is_admin() )
     663        if ( bp_current_user_can( 'bp_moderate' ) && !is_admin() )
    664664            $retval = false;
    665665
Note: See TracChangeset for help on using the changeset viewer.