Changeset 55956 for trunk/src/wp-includes/block-supports/layout.php
- Timestamp:
- 06/21/2023 05:30:24 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/layout.php
r55541 r55956 313 313 * 314 314 * @since 5.8.0 315 * @since 6.3.0 Adds compound class to layout wrapper for global spacing styles. 315 316 * @access private 316 317 * … … 474 475 } 475 476 } 477 478 // Add combined layout and block classname for global styles to hook onto. 479 $block_name = explode( '/', $block['blockName'] ); 480 $class_names[] = 'wp-block-' . end( $block_name ) . '-' . $layout_classname; 476 481 477 482 $content_with_outer_classnames = '';
Note: See TracChangeset
for help on using the changeset viewer.