Changeset 52747 for branches/5.9/src/wp-includes/block-supports/layout.php
- Timestamp:
- 02/17/2022 01:07:46 PM (3 years ago)
- Location:
- branches/5.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.9
-
branches/5.9/src/wp-includes/block-supports/layout.php
r52434 r52747 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.