[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:07:42 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 DrewAPicture):

 First thoughts:

 * For some reason I was thinking nested functions would be treated as
 closures in 5.2, which doesn't actually seem to be true. But @ocean90
 raises a good point about redeclaration of `wp_title()`.
 * I think ''because'' of the deprecated notice and ''because'' we're
 talking about default themes, we need to update the defaults back at least
 a year, so Twenty Fourteen and Fifteen

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


More information about the wp-trac mailing list