[buddypress-trac] [BuddyPress Trac] #6107: Missing site titles for BP pages in Twenty Fifteen and new themes which add support to the new title-tag feature
buddypress-trac
noreply at wordpress.org
Sun Jan 11 13:47:52 UTC 2015
#6107: Missing site titles for BP pages in Twenty Fifteen and new themes which add
support to the new title-tag feature
--------------------------+-----------------------------
Reporter: mercime | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: major | Keywords:
--------------------------+-----------------------------
What shows up in browser tab and source code:
{{{
`Site-Wide Activity | ` instead of `Site-Wide Activity | Devsite
Title ` or
`admin | Profile | ` instead of `admin | Profile | Devsite Title `
and so forth.
}}}
WordPress 4.1 [https://make.wordpress.org/core/2014/10/29/title-tags-
in-4-1/ introduced] `add_theme_support( 'title-tag' )` which has been
added to the `functions.php` file of Twenty Fifteen. The `wp_title` tag
which BP directly hooks into in `bp-core-filters.php` via the
`bp_modify_page_title` function is no longer present in said theme's
`<head>`.
Adding theme support for `title-tag` in `after_setup_theme` is the
recommended way for new themes to display page titles moving forward and
we should expect new themes to follow suit.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6107>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list