Skip to:
Content

BuddyPress.org

Changeset 9672


Ignore:
Timestamp:
04/01/2015 07:20:19 PM (5 years ago)
Author:
boonebgorges
Message:

Specify a 'directory_title' for the bp-blogs component.

This prevents lousy concatenation in bp_get_directory_title().

See [8090], #4631.

Fixes #6339.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/bp-blogs-loader.php

    r9531 r9672  
    6767            'root_slug'             => isset( $bp->pages->blogs->slug ) ? $bp->pages->blogs->slug : BP_BLOGS_SLUG,
    6868            'has_directory'         => is_multisite(), // Non-multisite installs don't need a top-level Sites directory, since there's only one site
     69            'directory_title'       => _x( 'Sites', 'component directory title', 'buddypress' ),
    6970            'notification_callback' => 'bp_blogs_format_notifications',
    7071            'search_string'         => __( 'Search sites...', 'buddypress' ),
Note: See TracChangeset for help on using the changeset viewer.