Make WordPress Core


Ignore:
Timestamp:
06/22/2023 04:04:50 AM (10 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

    r55959 r55975  
    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.