Skip to:
Content

BuddyPress.org

Changeset 5127


Ignore:
Timestamp:
09/08/2011 01:09:30 PM (15 years ago)
Author:
boonebgorges
Message:

Don't modify WP's generated page title when a BP directory is set to the front page. Fixes #3561. Props DJPaul

File:
1 edited

Legend:

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

    r5123 r5127  
    269269        global $bp, $post, $wp_query;
    270270
     271        // If this is not a BP page, just return the title produced by WP
    271272        if ( bp_is_blog_page() )
     273                return $title;
     274
     275        // If this is the front page of the site, return WP's title
     276        if ( is_front_page() || is_home() )
    272277                return $title;
    273278
Note: See TracChangeset for help on using the changeset viewer.