[wp-trac] [WordPress Trac] #60292: Layout: backport fix to ensure blocks without layout support do not receive layout classnames

WordPress Trac noreply at wordpress.org
Tue Jan 23 05:36:56 UTC 2024


#60292: Layout: backport fix to ensure blocks without layout support do not receive
layout classnames
-------------------------------------------------+-------------------------
 Reporter:  andrewserong                         |       Owner:
                                                 |  isabel_brison
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.5
Component:  Editor                               |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  gutenberg-merge has-patch has-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by isabel_brison):

 * owner:  (none) => isabel_brison
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57328" 57328]:
 {{{
 #!CommitTicketReference repository="" revision="57328"
 Editor: fix classname output on blocks without layout.

 Prevents layout classnames from being output on blocks with no layout
 support and no child layout classnames by returning early from
 `wp_render_layout_support_flag`.

 Props andrewserong.
 Fixes #60292.
 }}}

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


More information about the wp-trac mailing list