[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
Thu Jun 15 10:48:44 UTC 2023


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

 * keywords:
     has-patch has-unit-tests has-testing-info needs-testing has-
     screenshots
     =>
     has-patch has-unit-tests has-testing-info needs-testing has-
     screenshots commit


Comment:

 > surface the result of `WP_Theme::is_block_theme`

 Makes sense imho. The patch also looks good. Not sure if it needs two new
 tests for one boolean value, could they be combined? But the more-the
 merrier :)

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


More information about the wp-trac mailing list