Changeset 52741 for trunk/src/wp-includes/block-supports/layout.php
- Timestamp:
- 02/16/2022 05:26:46 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/layout.php
r52434 r52741 176 176 ); 177 177 178 /* 179 * Ideally styles should be loaded in the head, but blocks may be parsed 180 * after that, so loading in the footer for now. 181 * See https://core.trac.wordpress.org/ticket/53494. 182 */ 183 add_action( 184 'wp_footer', 185 static function () use ( $style ) { 186 echo '<style>' . $style . '</style>'; 187 } 188 ); 178 wp_enqueue_block_support( $style ); 189 179 190 180 return $content;
Note: See TracChangeset
for help on using the changeset viewer.