[wp-trac] [WordPress Trac] #34456: Add add_theme_support('title-tag') to all default WordPress themes as wp_title() is deprecated since WordPress 4.4

WordPress Trac noreply at wordpress.org
Tue Nov 10 17:34:46 UTC 2015


#34456: Add add_theme_support('title-tag') to all default WordPress themes as
wp_title() is deprecated since WordPress 4.4
---------------------------------------+-----------------------
 Reporter:  Nikschavan                 |       Owner:  obenland
     Type:  defect (bug)               |      Status:  accepted
 Priority:  normal                     |   Milestone:  4.4
Component:  Bundled Theme              |     Version:  trunk
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:
---------------------------------------+-----------------------

Comment (by ocean90):

 Replying to [comment:22 obenland]:
 > Twenty Fifteen already uses the new way.

 Actually that's a back compat issue, because the new way was previoulsy
 `_wp_render_title_tag()`->`wp_title()` and thus the `wp_title` and
 `wp_title_parts` filters were available.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34456#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list