Make WordPress Core

Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#61121 closed enhancement (fixed)

Theme JSON: Extract util to get valid block style variations

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

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.


3 years 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 years ago

  • Owner set to ellatrix
  • Resolution → fixed
  • Status new → 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 years ago

Please milestone this ticket in 6.6 @ellatrix

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


2 years ago

#6 @ellatrix
2 years ago

  • Milestone Awaiting Review → 6.6

#7 @ellatrix
2 years ago

Didn't have the permissions until now

Note: See TracTickets for help on using tickets.