Make WordPress Core

Opened 7 weeks ago

Closed 3 weeks ago

Last modified 3 weeks ago

#61120 closed enhancement (fixed)

Global Styles: Update util for scoping CSS selectors

Reported by: aaronrobertshaw's profile aaronrobertshaw Owned by: isabel_brison's profile isabel_brison
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/61026

Adds early return for existing scope_selector method making it more robust and ready for extending block style variations. See: https://github.com/WordPress/gutenberg/pull/57908

Change History (6)

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


7 weeks ago
#1

  • Keywords has-patch added

Syncs the changes from:

Adds early return for existing scope_selector method making it more robust and ready for 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/61120

@aaronrobertshaw commented on PR #6478:


7 weeks ago
#2

Thanks for fixing up the docblock comment @audrasjb 🚀

#3 @isabel_brison
3 weeks ago

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

In 58245:

Editor: Update util for scoping CSS selectors.

Adds early return for existing scope_selector method in preparation for extending block style variations.

Props aaronrobertshaw, audrasjb, isabel_brison.
Fixes #61120.

@isabel_brison commented on PR #6478:


3 weeks ago
#4

Committed in r58245.

#5 @kebbet
3 weeks ago

Please milestone in 6.6 @isabel_brison

#6 @isabel_brison
3 weeks ago

  • Milestone changed from Awaiting Review to 6.6
Note: See TracTickets for help on using tickets.