[wp-trac] [WordPress Trac] #49037: Expose all theme supports in /themes endpoint

WordPress Trac noreply at wordpress.org
Fri Jan 17 19:18:10 UTC 2020


#49037: Expose all theme supports in /themes endpoint
----------------------------------------+-----------------------
 Reporter:  adamboro                    |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  5.4
Component:  REST API                    |     Version:  5.0
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  rest-api
----------------------------------------+-----------------------

Comment (by spacedmonkey):

 Thinking this ticket over, I wonder if we should add an api to register
 theme supports.

 This would define the key name, description, show in rest etc. That would
 allow third party developers to also register their own supports. It would
 also mean that this definitions could be reused elsewhere. Thoughts
 @TimothyBlynJacobs ?

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


More information about the wp-trac mailing list