/**
* Registers core block style handles.
*
* While {@see register_block_style_handle()} is typically used for that, the way it is
* implemented is inefficient for core block styles. Registering those style handles here
* avoids unnecessary logic and filesystem lookups in the other function.
*
* @since 6.3.0
*/
function register_core_block_style_handles() { if ( !
wp_should_load_separate_core_block_assets() ) { return;
} static $core_blocks_meta;
if ( !
$core_blocks_meta ) { $core_blocks_meta =
require ABSPATH . WPINC . '/blocks/blocks-json.php';
} $includes_url =
includes_url();
$includes_path = ABSPATH . WPINC . '/';
$suffix =
wp_scripts_get_suffix();