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-core/deprecated/1.5.php

    r5301 r5329  
    463463    function bp_dtheme_page_on_front_update( $oldvalue, $newvalue ) {
    464464        _deprecated_function( __FUNCTION__, '1.5', "No longer required." );
    465         if ( !is_admin() || !is_super_admin() )
     465        if ( !is_admin() || !bp_current_user_can( 'bp_moderate' ) )
    466466            return false;
    467467
Note: See TracChangeset for help on using the changeset viewer.