[wp-trac] [WordPress Trac] #24152: Use JSON as alternative to CSS file headers

WordPress Trac noreply at wordpress.org
Sun Mar 8 14:45:02 UTC 2026


#24152: Use JSON as alternative to CSS file headers
--------------------------------------+------------------------------
 Reporter:  ryanve                    |       Owner:  (none)
     Type:  feature request           |      Status:  reopened
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Themes                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by retlehs):

 Sharing a small demo repo to make testing this patch easier:

 https://github.com/retlehs/json-metadata-theme-and-plugin

 It includes a minimal plugin (`plugin.json`) and block theme (`theme.json`
 metadata, no `style.css`) plus step-by-step instructions for testing
 against https://github.com/WordPress/wordpress-develop/pull/11200 locally
 in `wordpress-develop`.

 This is intended to help reviewers quickly verify JSON metadata
 registration behavior end-to-end.

 [[Image(https://cdn.roots.io/app/uploads/json-metadata-plugin.png)]]

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


More information about the wp-trac mailing list