[buddypress-trac] [BuddyPress Trac] #6675: WP 4.4 deprecates wp_title()

buddypress-trac noreply at wordpress.org
Sun Dec 13 16:45:44 UTC 2015


#6675: WP 4.4 deprecates  wp_title()
------------------------------+--------------------
 Reporter:  mercime           |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  2.4.3
Component:  Component - Core  |     Version:
 Severity:  major             |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------

Comment (by imath):

 In [changeset:"10402"]:
 {{{
 #!CommitTicketReference repository="" revision="10402"
 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

 See #6675 (branch 2.4)
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6675#comment:23>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list