[wp-trac] [WordPress Trac] #56970: .is-layout-flex broken

WordPress Trac noreply at wordpress.org
Thu Dec 1 21:58:36 UTC 2022


#56970: .is-layout-flex broken
-------------------------------------------------+-------------------------
 Reporter:  rsmith4321                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:
Component:  Editor                               |     Version:  6.1
 Severity:  normal                               |  Resolution:  reported-
 Keywords:  has-screenshots reporter-feedback    |  upstream
  has-testing-info has-patch                     |     Focuses:
-------------------------------------------------+-------------------------

Comment (by ironprogrammer):

 Thanks for the patch, @oandregal! Testing here in preparation of a hotfix
 test plugin that doesn't require quick file swaps to validate
 appropriately.

 == Test Report

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/3712
 👍🏻

 === Environment
 - Hardware: MacBook Pro Apple M1 Pro
 - OS: macOS 12.6.1
 - Browser: Safari 16.1
 - Server: nginx/1.23.2
 - PHP: 7.4.33
 - WordPress: 6.0.3 -> 6.1.1
 - Theme: twentytwentyone v1.6

 === Steps to Test
 To test the patch:

 1. Refer to [comment:42 Steps to Reproduce] above.
 2. Immediately after Step 5 completes, copy the patched files into `wp-
 includes/`. This will patch the corresponding newly installed 6.1.1 core
 files. E.g.

 {{{
 cp path/to/patched/default-filters.php wp-includes/default-filters.php
 cp path/to/patched/wp-includes/global-styles-and-settings.php wp-includes
 /global-styles-and-settings.php
 }}}

 3. Then immediately load or refresh the frontend page containing the
 Gallery block (Step 6 above).

 === Actual Results
 - ✅ Gallery images appear in 3 columns, as expected. Inline styles on the
 page contain flex rules for the `body .is-layout-flex` class.

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


More information about the wp-trac mailing list