[wp-trac] [WordPress Trac] #34990: Weird functionality of current_theme_supports('title-tag') in WordPress 4.4
WordPress Trac
noreply at wordpress.org
Thu Dec 10 21:57:31 UTC 2015
#34990: Weird functionality of current_theme_supports('title-tag') in WordPress 4.4
-------------------------------+------------------------------
Reporter: gnotaras | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 4.4
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by swissspidy):
* keywords: => reporter-feedback
* version: trunk => 4.4
Comment:
Where are you checking `current_theme_supports('title-tag')`? Theme
support is added during the `after_setup_theme` action, so if you check it
further up it won't work.
`Tests_General_DocumentTitle` and `Tests_Theme_Support`check for that, so
I'm not sure something broke in 4.4
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34990#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list