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

WordPress Trac noreply at wordpress.org
Fri Jan 17 22:30:14 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 apieschel):

 Went ahead and added the remaining supports from
 https://developer.wordpress.org/reference/functions/add_theme_support/.

 I guess I also need to add the ones from here:
 https://developer.wordpress.org/block-editor/developers/themes/theme-
 support/?

 Is there a better place to look for the list of all possible theme
 supports? The documentation is a little confusing!

 All new unit tests are passing except test_theme_can_manage_title_tag().
 Can't figure out why $result[0]['theme_supports']['title-tag'] keeps
 returning false.

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


More information about the wp-trac mailing list