Changeset 56706
- Timestamp:
- 09/26/2023 12:26:38 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-editor.php
r56629 r56706 360 360 } 361 361 362 /** 363 * Remove the deprecated `print_emoji_styles` handler. 364 * It avoids breaking style generation with a deprecation message. 365 */ 366 $has_emoji_styles = has_action( 'wp_print_styles', 'print_emoji_styles' ); 367 if ( $has_emoji_styles ) { 368 remove_action( 'wp_print_styles', 'print_emoji_styles' ); 369 } 370 362 371 ob_start(); 363 372 wp_print_styles(); 364 373 wp_print_font_faces(); 365 374 $styles = ob_get_clean(); 375 376 if ( $has_emoji_styles ) { 377 add_action( 'wp_print_styles', 'print_emoji_styles' ); 378 } 366 379 367 380 ob_start();
Note: See TracChangeset
for help on using the changeset viewer.