Make WordPress Core

Opened 13 months ago

Closed 13 months ago

Last modified 13 months ago

#60294 closed defect (bug) (fixed)

Block custom CSS: Backport updates to PHPUnit tests

Reported by: wildworks's profile wildworks Owned by: youknowriad's profile youknowriad
Milestone: 6.5 Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch has-unit-tests
Focuses: Cc:

Description

Backports changes to PHPUnit test made in the Gutenberg plugin with: https://github.com/WordPress/gutenberg/pull/53602

In #59499, the fix itself was backported to the core. But it lacked a backport of PHPUnit tests to guarantee its fix.

Change History (5)

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


13 months ago
#1

  • Keywords has-patch has-unit-tests added

#2 @youknowriad
13 months ago

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

In 57333:

Editor: Update the ThemeJson unit test to cover custom CSS feature.

In #59499 a fix have been shipped to theme.json custom CSS
when applied to blocks with multiple CSS selectors.
This commit covers that fix with a unit test.

Props wildworks.
Fixes #60294.

#4 @kebbet
13 months ago

Please milestone the ticket to 6.5 @youknowriad, thanks!

#5 @youknowriad
13 months ago

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