diff options
author | David Baumwald <davidbaumwald@git.wordpress.org> | 2022-10-27 15:39:20 +0000 |
---|---|---|
committer | David Baumwald <davidbaumwald@git.wordpress.org> | 2022-10-27 15:39:20 +0000 |
commit | 7691fe27250ad9cb369ab26dc309dd964df13609 (patch) | |
tree | 21f5c88987c02abf0a831485357f47513a758b73 /phpcs.xml.dist | |
parent | 6a2c768b479dd320cf38699516fe84e33c8a6c72 (diff) | |
download | wordpress-7691fe27250ad9cb369ab26dc309dd964df13609.tar.gz wordpress-7691fe27250ad9cb369ab26dc309dd964df13609.zip |
Editor: Ensure global styles are rendered for third-party blocks.
This change ensures custom styles for all third-party blocks are rendered on the front end if assets are set to be loaded on a per-block basis. Additionally, this change includes new unit tests to help prevent a similar bug in the future.
Props scruffian, aristath, poena, wildworks, ajlende, andraganescu, ndiego, gigitux, cbravobernal, ramonopoly, andrewserong, oandregal, hellofromTonya, bernhard-reiter.
Fixes #56915.
git-svn-id: https://develop.svn.wordpress.org/trunk@54703 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'phpcs.xml.dist')
-rw-r--r-- | phpcs.xml.dist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 32c6acc06d..453ef5c794 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -244,6 +244,7 @@ <element value="WP_Import_UnitTestCase"/> <element value="WP_Test_Adjacent_Image_Link_TestCase"/> <element value="WP_Tests_Image_Resize_UnitTestCase"/> + <element value="WP_Theme_UnitTestCase"/> <!-- Mock classes. --> <element value="Spy_REST_Server"/> |