Skip to content

Commit

Permalink
Remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Sep 20, 2024
1 parent 92aa6f9 commit d864449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/script-modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function wp_default_script_modules() {
* - block-library/query/view.js => @wordpress/block-library/query/view
*/
$script_module_id = '@wordpress/' . preg_replace( '~(?:/index)?(?:\.min)?\.js$~D', '', $file_name, 1 );
\sirreal\d( "{$file_name} => {$script_module_id}" );

switch ( $script_module_id ) {
/*
* Interactivity exposes two entrypoints, "/index" and "/debug".
Expand Down

0 comments on commit d864449

Please sign in to comment.