Make WordPress Core

Opened 6 weeks ago

Closed 2 weeks ago

Last modified 11 days ago

#61121 closed enhancement (fixed)

Theme JSON: Extract util to get valid block style variations

Reported by: aaronrobertshaw's profile aaronrobertshaw Owned by: ellatrix's profile ellatrix
Milestone: 6.6 Priority: normal
Severity: normal Version: trunk
Component: Editor Keywords: gutenberg-merge has-patch
Focuses: Cc:

Description

This ticket tracks the backporting of PHP files for the following Gutenberg changes:

https://github.com/WordPress/gutenberg/pull/61030

Extracts the repeated collection of valid block style variations into a util that can be reused or updated in a single place for future work around extending block style variations.

See: https://github.com/WordPress/gutenberg/pull/57908

Change History (7)

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


6 weeks ago
#1

  • Keywords has-patch added

Syncs the changes from:

Extracts the repeated collection of valid block style variations into a util that can be reused or updated in a single place for future work around extending block style variations.
See: https://github.com/WordPress/gutenberg/pull/57908

Unit tests: npm run test:php -- --filter Tests_Theme_wpThemeJson

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

#2 @ellatrix
2 weeks ago

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

In 58228:

Theme JSON: Extract util to get valid block style variations.

Extracts the repeated collection of valid block style variations into a util that can be reused or updated in a single place for future work around extending block style variations.

Backports https://github.com/WordPress/gutenberg/pull/61030.

Props aaronrobertshaw, audrasjb.

Fixes #61121.

#3 @kebbet
2 weeks ago

Please milestone this ticket in 6.6 @ellatrix

This ticket was mentioned in Slack in #meta by ella. View the logs.


11 days ago

#6 @ellatrix
11 days ago

  • Milestone changed from Awaiting Review to 6.6

#7 @ellatrix
11 days ago

Didn't have the permissions until now

Note: See TracTickets for help on using tickets.