[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
Wed Jun 14 20:28:47 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     |
-------------------------------------------------+-------------------------

Comment (by zunaid321):

 == Test Report
 This report validates that the indicated patch addresses the issue.

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/4323

 === Environment
 - OS: Windows 11 (22H2)
 - Web Server: nginx/1.23.4
 - PHP: 7.4.33
 - WordPress: 6.3-alpha-55505-src
 - Browser: Chrome Version 114.0.5735.110 (Official Build) (64-bit)
 - Theme: Twenty Twenty-Three

 === Before Applying The Patch
 - Followed the instructions of @ironprogrammer
 - ❌ is_block_theme - was not available

 === After Applying The Patch
 - Followed the same instructions
 - ✅ is_block_theme was displaying the correct info for both classic and
 block based themes.

 === Plugins Used
 - Attached: gutenberg.16.0.0.zip

 === Screenshots
 - Before Patch: https://prnt.sc/NWmL4MV5WVmf
 - After Patch: https://prnt.sc/k-dcTe1S4jFq

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


More information about the wp-trac mailing list