Changeset 4920 for trunk/bp-groups/bp-groups-loader.php
- Timestamp:
- 08/03/2011 09:03:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-loader.php
r4907 r4920 77 77 // Note that global_tables is included in this array. 78 78 $globals = array( 79 'path' => BP_PLUGIN_DIR, 79 80 'slug' => BP_GROUPS_SLUG, 80 81 'root_slug' => isset( $bp->pages->groups->slug ) ? $bp->pages->groups->slug : BP_GROUPS_SLUG, 82 'has_directory' => true, 81 83 'notification_callback' => 'groups_format_notifications', 82 84 'search_string' => __( 'Search Groups...', 'buddypress' ), … … 168 170 // group's home page 169 171 bp_core_no_access( array( 170 'message' 171 'root' 172 'redirect' 172 'message' => __( 'You do not have access to this group.', 'buddypress' ), 173 'root' => bp_get_group_permalink( $bp->groups->current_group ), 174 'redirect' => false 173 175 ) ); 174 176 } else {
Note: See TracChangeset
for help on using the changeset viewer.