[wp-trac] [WordPress Trac] #60255: Add $schema property to block and theme JSON files

WordPress Trac noreply at wordpress.org
Tue Jan 23 13:05:23 UTC 2024


#60255: Add $schema property to block and theme JSON files
---------------------------------------------+-------------------------
 Reporter:  jonsurrell                       |       Owner:  jonsurrell
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  6.5
Component:  General                          |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-------------------------
Changes (by Bernhard Reiter):

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


Comment:

 In [changeset:"57336" 57336]:
 {{{
 #!CommitTicketReference repository="" revision="57336"
 General: Add $schema property to block and theme JSON files.

 Additionally, this changeset fixes some of the `block.json` and
 `theme.json` files in PHPUnit tests by adding missing `title` properties
 to satisfy the schema. Those changes have no impact on the runtime
 whatsoever and do not change the result of unit tests.

 Note that some block and theme JSON files still aren't valid according to
 the schema. Fixing is underway; the required changes will be merged
 subsequently.

 Props jonsurrell, dmsnell, gziolo.
 Fixes #60255.
 }}}

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


More information about the wp-trac mailing list