[wp-trac] [WordPress Trac] #58123: Indicate when a theme supports the Site editor in the Themes REST API response

WordPress Trac noreply at wordpress.org
Tue Jun 20 22:16:14 UTC 2023


#58123: Indicate when a theme supports the Site editor in the Themes REST API
response
-------------------------------------------------+-------------------------
 Reporter:  grantmkin                            |       Owner:  audrasjb
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.3
Component:  REST API                             |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests has-        |     Focuses:  rest-api
  testing-info has-screenshots                   |
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55951" 55951]:
 {{{
 #!CommitTicketReference repository="" revision="55951"
 REST API: Indicate when a theme supports the Site editor in the Themes
 REST API response.

 This changeset adds a `is_block_theme` property to each theme in the
 `wp/v2/themes` API response, which uses `WP_Theme::is_block_theme` to
 determinate whether
 the theme is block theme or not.

 Props grantmkin, ironprogrammer, zunaid321, azaozz, spacedmonkey,
 audrasjb, costdev.
 Fixes #58123.
 }}}

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


More information about the wp-trac mailing list