Make WordPress Core

Opened 3 weeks ago

Last modified 2 weeks ago

#62455 reopened defect (bug)

Twenty Twenty-Five: Update schema version

Reported by: poena's profile poena Owned by: desrosj's profile desrosj
Milestone: 6.7.2 Priority: normal
Severity: normal Version: 6.7
Component: Bundled Theme Keywords: has-patch good-first-bug fixed-major
Focuses: Cc:

Description

Twenty Twenty-Five uses the development version of the theme.json schema for the JSON files:
https://schemas.wp.org/trunk/theme.json

The theme needs to use the version of theme.json and the theme.json schema that was valid when the theme was released.
Otherwise, as the schema continue to evolve over time, code editors may show parts of theme.json as invalid.

The last version of the schema for WordPress 6.7 is at https://raw.githubusercontent.com/WordPress/gutenberg/wp/6.7/schemas/json/theme.json

Follow up to https://core.trac.wordpress.org/ticket/61342

Change History (12)

#1 @poena
3 weeks ago

  • Version set to 6.7

This ticket was mentioned in PR #7820 on WordPress/wordpress-develop by @im3dabasia1.


3 weeks ago
#2

  • Keywords has-patch added

Trac ticket: https://core.trac.wordpress.org/ticket/62455

This PR updates the schema version for the Twenty Twenty-Five theme as per the requirements in [Ticket #62455].

Key Changes:

Updated schema version to reflect the latest standards and changes.

Schema URL: 'https://schemas.wp.org/wp/6.7/theme.json'

#3 @mukesh27
3 weeks ago

  • Keywords good-first-bug commit added

The PR #7820 LGTM and ready for commit.

#4 @desrosj
3 weeks ago

  • Owner set to desrosj
  • Resolution set to fixed
  • Status changed from new to closed

In 59448:

Bundled Theme: Pin a theme.json schema version to Twenty Twenty-Five.

Each theme’s theme.json schema version should be pinned to the version that was valid at the time it was released.

Props im3dabasia1, poena, mukesh27.
Fixes #62455.

#5 @desrosj
3 weeks ago

  • Keywords fixed-major added; commit removed
  • Milestone changed from 6.8 to 6.7.2
  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopening to consider including in the next theme update, whenever that may be coordinated.

#7 @poena
3 weeks ago

All json files in the theme needs to have their schema updated.

This ticket was mentioned in PR #7868 on WordPress/wordpress-develop by @im3dabasia1.


2 weeks ago
#8

Trac ticket: https://core.trac.wordpress.org/ticket/62455

This PR updates the $schema URL in all JSON files for the Twenty Twenty-Five theme to use the wp/6.7 schema version instead of the trunk version.

#9 @im3dabasia1
2 weeks ago

Thanks @poena. I have raised a PR that updates the schema URLs in all JSON files to use the schema for WordPress 6.7. Here is the PR. Let me know if I missed any.

cc: @desrosj

#10 @desrosj
2 weeks ago

  • Keywords commit added

#11 @desrosj
2 weeks ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 59451:

Bundled Theme: Pin schema version to rest of Twenty Twenty-Five.

All JSON files in the theme should be pinned to the appropriate schema version, not just theme.json.

Follow up to [59448].

Props im3dabasia1, poena.
Fixes #62455.

#12 @desrosj
2 weeks ago

  • Keywords commit removed
  • Resolution fixed deleted
  • Status changed from closed to reopened
Note: See TracTickets for help on using tickets.