Changeset 56736 for trunk/src/wp-includes/block-editor.php
- Timestamp:
- 09/27/2023 05:38:38 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-editor.php
r56706 r56736 288 288 * @access private 289 289 * 290 * @global string $pagenow The filename of the current screen.291 290 * @global WP_Styles $wp_styles The WP_Styles current instance. 292 291 * @global WP_Scripts $wp_scripts The WP_Scripts current instance. … … 300 299 */ 301 300 function _wp_get_iframed_editor_assets() { 302 global $wp_styles, $wp_scripts , $pagenow;301 global $wp_styles, $wp_scripts; 303 302 304 303 // Keep track of the styles and scripts instance to restore later. … … 329 328 // Enqueue the `editorStyle` handles for all core block, and dependencies. 330 329 wp_enqueue_style( 'wp-edit-blocks' ); 331 332 if ( 'site-editor.php' === $pagenow ) {333 wp_enqueue_style( 'wp-edit-site' );334 }335 330 336 331 if ( current_theme_supports( 'wp-block-styles' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.