WordPress/wp-includes/style-engine
audrasjb ecb977b5e2 Editor: Style Engine - continue `get_classnames` loop after adding the default classname.
The `WP_Style_Engine` class has a method `get_classnames` that builds classnames. It loops over an array to add each classname. This changeset adds a `continue` in the loop after adding the default classname.

Syncs changes from https://github.com/WordPress/gutenberg/pull/60153

Props ramonopoly.
Fixes #60847.



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


git-svn-id: http://core.svn.wordpress.org/trunk@57768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-03 22:04:13 +00:00
..
class-wp-style-engine-css-declarations.php
class-wp-style-engine-css-rule.php
class-wp-style-engine-css-rules-store.php
class-wp-style-engine-processor.php
class-wp-style-engine.php Editor: Style Engine - continue `get_classnames` loop after adding the default classname. 2024-06-03 22:04:13 +00:00