[buddypress-trac] [BuddyPress Trac] #6675: WP 4.4 deprecates wp_title()
buddypress-trac
noreply at wordpress.org
Sun Dec 13 16:54:45 UTC 2015
#6675: WP 4.4 deprecates wp_title()
------------------------------+---------------------
Reporter: mercime | Owner: imath
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.4.3
Component: Component - Core | Version:
Severity: major | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by imath):
* owner: => imath
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"10403"]:
{{{
#!CommitTicketReference repository="" revision="10403"
Make sure document/page title tags are correctly generated for BuddyPress
pages
- Remove all the BuddyPress process to create BuddyPress title parts from
`bp_modify_page_title()` and create the new function
`bp_get_title_parts()` and put this process here. This allowes
plugin/theme to directly use it if needed.
- Keep the filter on `wp_title` so that themes not supporting the `title-
tag` feature or breadcrumb plugins can still easily get BuddyPress title
parts.
- Filter `document_title_parts` with a new function
`bp_modify_document_title_parts()` to build the BuddyPress title parts if
needed.
- Both functions `bp_modify_page_title()` and
`bp_modify_document_title_parts()` are using `bp_get_title_parts()`.
Props slaFFik, mercime, r-a-y, DJPaul
Fixes #6675 (trunk)
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6675#comment:24>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list