Changeset 49093 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 10/06/2020 04:16:43 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r49083 r49093 2171 2171 */ 2172 2172 function wp_common_block_scripts_and_styles() { 2173 if ( is_admin() && ! _should_load_block_editor_scripts_and_styles() ) {2173 if ( is_admin() && ! wp_should_load_block_editor_scripts_and_styles() ) { 2174 2174 return; 2175 2175 } … … 2199 2199 * 2200 2200 * @since 5.6.0 2201 * @access private2202 2201 * 2203 2202 * @return bool 2204 2203 */ 2205 function _should_load_block_editor_scripts_and_styles() {2204 function wp_should_load_block_editor_scripts_and_styles() { 2206 2205 global $current_screen; 2207 2206 … … 2230 2229 global $current_screen; 2231 2230 2232 $load_editor_scripts = _should_load_block_editor_scripts_and_styles();2231 $load_editor_scripts = wp_should_load_block_editor_scripts_and_styles(); 2233 2232 2234 2233 $block_registry = WP_Block_Type_Registry::get_instance();
Note: See TracChangeset
for help on using the changeset viewer.