Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/16/2011 08:22:32 PM (14 years ago)
Author:
boonebgorges
Message:

Ensures that bp_get_root_slug() gets the proper root_slug when searching in active_components. Ensures that the title of component directories is correct when the component slug has been changed from the default. Fixes #3582. Props r-a-y

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-filters.php

    r5127 r5153  
    300300            $title = sprintf( __( '%s Directory', 'buddypress' ), bp_get_name_from_root_slug( bp_members_slug() ) );
    301301        else
    302             $title = sprintf( __( '%s Directory', 'buddypress' ), bp_get_name_from_root_slug() );
     302            $title = sprintf( __( '%s Directory', 'buddypress' ), bp_get_name_from_root_slug( bp_get_root_slug() ) );
    303303
    304304    // Sign up page
Note: See TracChangeset for help on using the changeset viewer.