diff --git src/bp-activity/classes/class-bp-activity-component.php src/bp-activity/classes/class-bp-activity-component.php
index 29dda02..2c64243 100644
|
|
class BP_Activity_Component extends BP_Component { |
115 | 115 | 'slug' => BP_ACTIVITY_SLUG, |
116 | 116 | 'root_slug' => isset( $bp->pages->activity->slug ) ? $bp->pages->activity->slug : BP_ACTIVITY_SLUG, |
117 | 117 | 'has_directory' => true, |
118 | | 'directory_title' => _x( 'Site-Wide Activity', 'component directory title', 'buddypress' ), |
| 118 | 'directory_title' => isset( $bp->pages->activity->title ) ? $bp->pages->activity->title : _x( 'Site-Wide Activity', 'component directory title', 'buddypress' ), |
119 | 119 | 'notification_callback' => 'bp_activity_format_notifications', |
120 | 120 | 'search_string' => __( 'Search Activity...', 'buddypress' ), |
121 | 121 | 'global_tables' => $global_tables, |
diff --git src/bp-blogs/classes/class-bp-blogs-component.php src/bp-blogs/classes/class-bp-blogs-component.php
index 69dfe37..946c36c 100644
|
|
class BP_Blogs_Component extends BP_Component { |
70 | 70 | 'slug' => BP_BLOGS_SLUG, |
71 | 71 | 'root_slug' => isset( $bp->pages->blogs->slug ) ? $bp->pages->blogs->slug : BP_BLOGS_SLUG, |
72 | 72 | 'has_directory' => is_multisite(), // Non-multisite installs don't need a top-level Sites directory, since there's only one site. |
73 | | 'directory_title' => _x( 'Sites', 'component directory title', 'buddypress' ), |
| 73 | 'directory_title' => isset( $bp->pages->blogs->title ) ? $bp->pages->blogs->title : _x( 'Sites', 'component directory title', 'buddypress' ), |
74 | 74 | 'notification_callback' => 'bp_blogs_format_notifications', |
75 | 75 | 'search_string' => __( 'Search sites...', 'buddypress' ), |
76 | 76 | 'autocomplete_all' => defined( 'BP_MESSAGES_AUTOCOMPLETE_ALL' ), |
diff --git src/bp-groups/classes/class-bp-groups-component.php src/bp-groups/classes/class-bp-groups-component.php
index 355ab8c..f35bd23 100644
|
|
class BP_Groups_Component extends BP_Component { |
164 | 164 | 'slug' => BP_GROUPS_SLUG, |
165 | 165 | 'root_slug' => isset( $bp->pages->groups->slug ) ? $bp->pages->groups->slug : BP_GROUPS_SLUG, |
166 | 166 | 'has_directory' => true, |
167 | | 'directory_title' => _x( 'Groups', 'component directory title', 'buddypress' ), |
| 167 | 'directory_title' => isset( $bp->pages->groups->title ) ? $bp->pages->groups->title : _x( 'Groups', 'component directory title', 'buddypress' ), |
168 | 168 | 'notification_callback' => 'groups_format_notifications', |
169 | 169 | 'search_string' => _x( 'Search Groups...', 'Component directory search', 'buddypress' ), |
170 | 170 | 'global_tables' => $global_tables, |
diff --git src/bp-members/classes/class-bp-members-component.php src/bp-members/classes/class-bp-members-component.php
index 92a2c85..adc9b2f 100644
|
|
class BP_Members_Component extends BP_Component { |
113 | 113 | 'slug' => BP_MEMBERS_SLUG, |
114 | 114 | 'root_slug' => isset( $bp->pages->members->slug ) ? $bp->pages->members->slug : BP_MEMBERS_SLUG, |
115 | 115 | 'has_directory' => true, |
116 | | 'directory_title' => _x( 'Members', 'component directory title', 'buddypress' ), |
| 116 | 'directory_title' => isset( $bp->pages->members->title ) ? $bp->pages->members->title : _x( 'Members', 'component directory title', 'buddypress' ), |
117 | 117 | 'search_string' => __( 'Search Members...', 'buddypress' ), |
118 | 118 | 'global_tables' => array( |
119 | 119 | 'table_name_last_activity' => bp_core_get_table_prefix() . 'bp_activity', |