[wp-trac] [WordPress Trac] #27278: More sanity to add_theme_support( 'html5' )

WordPress Trac noreply at wordpress.org
Sun Mar 16 09:09:09 UTC 2014


#27278: More sanity to add_theme_support( 'html5' )
-------------------------+------------------------------
 Reporter:  jond3r       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by jond3r):

 The general message here seems to be: "Change as little as possible".
 Still I think it would be valuable to have some comment in the code to
 indicate what is considered as deprecated usage (some devs might not read
 the codex).

 The attached .6 patch is essentially a modified version of .1 that tries
 to better adhere to the documentation standards (replacing 'void' with
 'mixed' in the @return line). The unit tests are also not touched.

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


More information about the wp-trac mailing list