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

WordPress Trac noreply at wordpress.org
Wed Jan 22 23:44:19 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):

 In [https://core.trac.wordpress.org/attachment/ticket/49037/49037.2.diff
 49037.2.diff], there are number of improvements.

 - Lints now pass
 - Unit tests now pass.
 - Repeated logic removed and replaced with loop
 - Make sure all array types also have items key to stop php notice.

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


More information about the wp-trac mailing list