[wp-trac] [WordPress Trac] #60847: Style Engine: continue get_classnames loop after adding the default classname

WordPress Trac noreply at wordpress.org
Mon Jun 3 22:02:50 UTC 2024


#60847: Style Engine: continue get_classnames loop after adding the default
classname
----------------------------------------------+-----------------------
 Reporter:  ramonopoly                        |       Owner:  audrasjb
     Type:  enhancement                       |      Status:  closed
 Priority:  normal                            |   Milestone:  6.6
Component:  Editor                            |     Version:  trunk
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  has-patch gutenberg-merge commit  |     Focuses:
----------------------------------------------+-----------------------
Changes (by audrasjb):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58311" 58311]:
 {{{
 #!CommitTicketReference repository="" revision="58311"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60847#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list