[wp-trac] [WordPress Trac] #63253: Theme REST API: expose "has_theme_json" field

WordPress Trac noreply at wordpress.org
Tue Apr 8 14:00:47 UTC 2025


#63253: Theme REST API: expose "has_theme_json" field
--------------------------------------+------------------------------
 Reporter:  wildworks                 |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  REST API                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by wildworks):

 == Testing Instructions

 - Open the post editor or the site editor
 - Open the console panel of your browser
 - Run `wp.data.select('core').getCurrentTheme()`
 - Confirm that the response includes the `has_theme_json` field

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


More information about the wp-trac mailing list