- Timestamp:
- 09/10/2016 02:25:50 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/classes/class-bp-groups-component.php
r10794 r11080 169 169 ); 170 170 171 // Fetch the default directory title. 172 $default_directory_titles = bp_core_get_directory_page_default_titles(); 173 $default_directory_title = $default_directory_titles[$this->id]; 174 171 175 // All globals for groups component. 172 176 // Note that global_tables is included in this array. … … 175 179 'root_slug' => isset( $bp->pages->groups->slug ) ? $bp->pages->groups->slug : BP_GROUPS_SLUG, 176 180 'has_directory' => true, 177 'directory_title' => _x( 'Groups', 'component directory title', 'buddypress' ),181 'directory_title' => isset( $bp->pages->groups->title ) ? $bp->pages->groups->title : $default_directory_title, 178 182 'notification_callback' => 'groups_format_notifications', 179 183 'search_string' => _x( 'Search Groups...', 'Component directory search', 'buddypress' ),
Note: See TracChangeset
for help on using the changeset viewer.