Changeset 55368 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 02/20/2023 09:11:57 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r55314 r55368 1636 1636 } 1637 1637 1638 if ( ! is_array( $editor_styles ) || count( $editor_styles ) === 0 ) { 1639 // Include opinionated block styles if no $editor_styles are declared, so the editor never appears broken. 1638 if ( 1639 current_theme_supports( 'wp-block-styles' ) && 1640 ( ! is_array( $editor_styles ) || count( $editor_styles ) === 0 ) 1641 ) { 1642 /* 1643 * Include opinionated block styles if the theme supports block styles and 1644 * no $editor_styles are declared, so the editor never appears broken. 1645 */ 1640 1646 $wp_edit_blocks_dependencies[] = 'wp-block-library-theme'; 1641 1647 }
Note: See TracChangeset
for help on using the changeset viewer.