Skip to:
Content

BuddyPress.org

Changeset 3193


Ignore:
Timestamp:
08/15/2010 05:02:09 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Keep old is_site_admin global around for plugins that may use it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core.php

    r3192 r3193  
    109109    /* is_super_admin() hits the DB on single WP installs, so we need to get this separately so we can call it in a loop. */
    110110    $bp->loggedin_user->is_super_admin = is_super_admin();
     111    $bp->loggedin_user->is_site_admin  = $bp->loggedin_user->is_super_admin; // deprecated 1.2.6
    111112
    112113    /* The user id of the user currently being viewed, set in /bp-core/bp-core-catchuri.php */
Note: See TracChangeset for help on using the changeset viewer.