Changeset 55368 for trunk/src/wp-includes/block-editor.php
- Timestamp:
- 02/20/2023 09:11:57 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-editor.php
r55192 r55368 297 297 */ 298 298 function _wp_get_iframed_editor_assets() { 299 global $pagenow ;299 global $pagenow, $editor_styles; 300 300 301 301 $script_handles = array( … … 306 306 ); 307 307 308 if ( current_theme_supports( 'wp-block-styles' ) ) { 308 if ( 309 current_theme_supports( 'wp-block-styles' ) && 310 ( ! is_array( $editor_styles ) || count( $editor_styles ) === 0 ) 311 ) { 309 312 $style_handles[] = 'wp-block-library-theme'; 310 313 }
Note: See TracChangeset
for help on using the changeset viewer.