[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 22:15:26 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:
-------------------------------+------------------------------

Comment (by gnotaras):

 Oh, I see. I used the following code in a testing plugin (was trying to
 add some logic based on the theme's features), while the TwentyFifteen
 theme, which has {{{title-tag}}} support was activated:

 {{{#!php
 if ( ! current_theme_supports('title-tag') ) {
     var_dump('12345');
 }
 }}}

 Now I see this was a mistake. Please feel free to close this issue as
 invalid.

 Thanks for your response and I'm sorry about that!

 George

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


More information about the wp-trac mailing list