Changeset 58708
- Timestamp:
- 07/12/2024 01:32:24 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/layout.php
r58243 r58708 952 952 * 953 953 * @since 5.8.0 954 * @since 6.6.1 Removed inner container from Grid variations. 954 955 * @access private 955 956 * … … 968 969 wp_theme_has_theme_json() || 969 970 1 === preg_match( $group_with_inner_container_regex, $block_content ) || 970 ( isset( $block['attrs']['layout']['type'] ) && 'flex' === $block['attrs']['layout']['type'])971 ( isset( $block['attrs']['layout']['type'] ) && ( 'flex' === $block['attrs']['layout']['type'] || 'grid' === $block['attrs']['layout']['type'] ) ) 971 972 ) { 972 973 return $block_content;
Note: See TracChangeset
for help on using the changeset viewer.