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-functions.php

    r5302 r5329  
    267267
    268268    // Super admins can skip required check
    269     if ( is_super_admin() && !is_admin() )
     269    if ( bp_current_user_can( 'bp_moderate' ) && !is_admin() )
    270270        $retval = false;
    271271
Note: See TracChangeset for help on using the changeset viewer.