[wp-trac] [WordPress Trac] #51657: Correct displaying the _doing_it_wrong() message for add_theme_support( 'html5' )

WordPress Trac noreply at wordpress.org
Sun Jan 10 23:32:31 UTC 2021


#51657: Correct displaying the _doing_it_wrong() message for add_theme_support(
'html5' )
---------------------------------------+-----------------------------
 Reporter:  SergeyBiryukov             |       Owner:  SergeyBiryukov
     Type:  defect (bug)               |      Status:  accepted
 Priority:  normal                     |   Milestone:  5.7
Component:  Themes                     |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-screenshots has-patch  |     Focuses:
---------------------------------------+-----------------------------
Changes (by audrasjb):

 * keywords:   => has-screenshots has-patch


Comment:

 Nice catch @SergeyBiryukov!

 I think 51657.diff does the job :)

 Just wonder if we want to change the `version` param. I think it's fine to
 keep the reference to the version it was added, but on another hand, it
 would be nice to upgrade the version to 5.7.0 as the notice will be
 displayed for the very first time. Any thought?

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


More information about the wp-trac mailing list