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

WordPress Trac noreply at wordpress.org
Thu Jun 16 15:19:23 UTC 2022


#51657: Correct displaying the _doing_it_wrong() message for add_theme_support(
'html5' )
-------------------------------------------------+-------------------------
 Reporter:  SergeyBiryukov                       |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.0
Component:  Themes                               |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-screenshots has-patch needs-     |     Focuses:
  dev-note                                       |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"53513" 53513]:
 {{{
 #!CommitTicketReference repository="" revision="53513"
 Docs: Add `@since` notes for `html5` theme feature changes in
 `add_theme_support()`:

 * As of WordPress 3.6.1, the `html5` feature requires an array of types to
 be passed. Defaults to `comment-list`, `comment-form`, `search-form` for
 backward compatibility.
 * As of WordPress 6.0, the previously added `_doing_it_wrong()` notice is
 actually displayed as expected.

 Follow-up to [25193], [25235], [25785], [49344], [49354], [52828].

 Props bobbingwide.
 See #51657, #55646.
 }}}

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


More information about the wp-trac mailing list