Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/15/2010 04:43:07 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Use is_super_admin instead of deprecated is_site_admin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-themes/bp-default/functions.php

    r3171 r3192  
    9090/* Hijack the saving of page on front setting to save the activity stream setting */
    9191function bp_dtheme_page_on_front_update( $oldvalue, $newvalue ) {
    92     if ( !is_admin() || !is_site_admin() )
     92    if ( !is_admin() || !is_super_admin() )
    9393        return false;
    9494
Note: See TracChangeset for help on using the changeset viewer.