Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/09/2012 11:00:59 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Audit the usage of $bp->is_item_admin and $bp->is_item_mod to use the _is_ functions isntead. Also fix some $bp globals in the process. See #3989.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-loader.php

    r5518 r5687  
    384384                    'screen_function' => 'groups_screen_group_admin',
    385385                    'position'        => 1000,
    386                     'user_has_access' => ( $bp->is_item_admin + (int)$bp->is_item_mod ),
     386                    'user_has_access' => true,
    387387                    'item_css_id'     => 'admin'
    388388                );
Note: See TracChangeset for help on using the changeset viewer.