Make WordPress Core

Changeset 58311


Ignore:
Timestamp:
06/03/2024 10:02:33 PM (10 months ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.