WordPress/wp-includes/style-engine
Joe McGill 134e355f13 Editor: Avoid unnecessary array_merge in WP_Style_Engine::parse_block_styles().
This adds an `! empty()` check for classnames and declarations to avoid calling array_merge() with an empty value.

Props mukesh27, ramonopoly, aaronrobertshaw.
Fixes #62317.

Built from https://develop.svn.wordpress.org/trunk@59442


git-svn-id: http://core.svn.wordpress.org/trunk@58828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-20 21:29:22 +00:00
..
class-wp-style-engine-css-declarations.php Docs: Improve Style Engine DocBlocks per the documentation standards. 2023-05-17 11:58:26 +00:00
class-wp-style-engine-css-rule.php Editor: add Style Engine support for nested CSS rules. 2024-05-03 04:47:12 +00:00
class-wp-style-engine-css-rules-store.php Editor: add Style Engine support for nested CSS rules. 2024-05-03 04:47:12 +00:00
class-wp-style-engine-processor.php Editor: add Style Engine support for nested CSS rules. 2024-05-03 04:47:12 +00:00
class-wp-style-engine.php Editor: Avoid unnecessary array_merge in WP_Style_Engine::parse_block_styles(). 2024-11-20 21:29:22 +00:00