[wp-trac] [WordPress Trac] #49406: Introduce register_theme_support method

WordPress Trac noreply at wordpress.org
Tue Feb 11 15:13:26 UTC 2020


#49406: Introduce register_theme_support method
-------------------------+------------------------------
 Reporter:  kadamwhite   |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  rest-api
-------------------------+------------------------------

Comment (by georgestephanis):

 So to confirm on this, functionality would be similar to scripts / styles
 -- in that just because the theme support is /registered/ it isn't flagged
 on.  Registering is just describing it.

 I'd also suggest that we make sure theme support can be added before it's
 registered -- so that a late register doesn't break legacy declarations of
 adding it.

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


More information about the wp-trac mailing list