Make WordPress Core


Ignore:
Timestamp:
06/21/2023 05:54:27 AM (15 months ago)
Author:
isabel_brison
Message:

Editor: add grid layout type

Add a new grid type to the layout block support.

Props andrewserong, costdev, ramonopoly.
Fixes #58554.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme-json.php

    r55956 r55957  
    13711371                if (
    13721372                    ! empty( $class_name ) &&
    1373                     ! empty( $base_style_rules )
     1373                    is_array( $base_style_rules )
    13741374                ) {
    13751375                    // Output display mode. This requires special handling as `display` is not exposed in `safe_style_css_filter`.
Note: See TracChangeset for help on using the changeset viewer.