Make WordPress Core

Opened 16 months ago

Closed 16 months ago

Last modified 15 months ago

#57621 closed enhancement (fixed)

Add support for global styles per-block custom css

Reported by: aristath's profile aristath Owned by: flixos90's profile flixos90
Milestone: 6.2 Priority: normal
Severity: normal Version:
Component: General Keywords: gutenberg-merge has-patch has-unit-tests
Focuses: Cc:


Change History (6)

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

16 months ago

  • Keywords has-patch has-unit-tests added


This is a continuation of
That PR included a call to the `process_blocks_custom_css` method, but the method itself was not included.
This PR back ports that method, and its related tests.

Trac ticket:

#3 @flixos90
16 months ago

  • Owner set to flixos90
  • Status changed from new to reviewing

#5 @SergeyBiryukov
16 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

Fixed in [55216].

#6 @hellofromTonya
15 months ago

In 55468:

Tests: Use assertSame() in Tests_Theme_wpThemeJson.

Change from assertEquals() to assertSame(). Why? To ensure both the return value and data type match the expected results.

Follow-up to [55216].

Props costdev, peterwilsoncc, mukesh27, ankitmaru.
See #56800, #57621.

Note: See TracTickets for help on using tickets.