Make WordPress Core

Opened 10 months ago

Closed 9 months ago

Last modified 9 months 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: 6.6
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.


10 months 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:


10 months ago
#2

Thanks for fixing up the docblock comment @audrasjb 🚀

#3 @isabel_brison
9 months 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:


9 months ago
#4

Committed in r58245.

#5 @kebbet
9 months ago

Please milestone in 6.6 @isabel_brison

#6 @isabel_brison
9 months ago

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