[wp-trac] [WordPress Trac] #61789: Bundled themes: Update schema version in style variation files

WordPress Trac noreply at wordpress.org
Tue Jul 30 09:41:23 UTC 2024


#61789: Bundled themes: Update schema version in style variation files
---------------------------+-----------------------------
 Reporter:  poena          |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 In #61342 the schema version in theme.json was updated in Twenty Twenty-
 Two, Twenty Twenty-Three and Twenty Twenty-Four.

 The style variation files in the styles folder must also be updated.
 If the style variation has the wrong schema, code editors that support
 schema may show that settings or styles are invalid.

 In case the style variation does not have a schema, it should be added.

 The version that should be added is 6.5. Example:

 {{{
 "$schema": "https://schemas.wp.org/wp/6.5/theme.json",
 }}}

 Documentation:
 https://developer.wordpress.org/block-editor/reference-guides/theme-json-
 reference/theme-json-v2/#json-schema

 Files that need updating:
 https://core.trac.wordpress.org/browser/branches/6.6/src/wp-
 content/themes/twentytwentythree/styles

 https://core.trac.wordpress.org/browser/branches/6.6/src/wp-
 content/themes/twentytwentytwo/styles

 https://core.trac.wordpress.org/browser/branches/6.6/src/wp-
 content/themes/twentytwentyfour/styles

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61789>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list