Skip to:
Content

BuddyPress.org

Changeset 7612


Ignore:
Timestamp:
11/29/2013 07:05:52 PM (11 years ago)
Author:
boonebgorges
Message:

Don't modify <title> element when is_404()

Fixes #5257

Props henrywright

File:
1 edited

Legend:

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

    r7484 r7612  
    349349        return $title;
    350350
     351    // If this is a 404, let WordPress handle it
     352    if ( is_404() ) {
     353        return $title;
     354    }
     355
    351356    // If this is the front page of the site, return WP's title
    352357    if ( is_front_page() || is_home() )
Note: See TracChangeset for help on using the changeset viewer.