[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 16:59:04 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 Nikschavan):

 I agree with @obenland on not updating the default themes concerning the
 backwards compatibility, Although I am not too sure if I like the
 deprecated notice being displayed on the front end to all the visitors of
 the site.

 Maybe only show the notice to logged in/ admin users? or add the notice in
 `error_log()`?

 Either way, as we are planning to not to patch the themes, user who has
 this theme installed will have only two options to get rid of this warning
 either to change the theme or downgrade WordPress both the options are not
 good.

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


More information about the wp-trac mailing list