From 9a73628689243be37f8a4fcdafcb0de978491c43 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Mon, 30 Jul 2018 13:41:14 -0400 Subject: [PATCH] Remove debug code logging screen ID (https://github.com/woocommerce/woocommerce-admin/pull/250) --- plugins/woocommerce-admin/lib/client-assets.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plugins/woocommerce-admin/lib/client-assets.php b/plugins/woocommerce-admin/lib/client-assets.php index 772ee7430af..14a3c6034ef 100644 --- a/plugins/woocommerce-admin/lib/client-assets.php +++ b/plugins/woocommerce-admin/lib/client-assets.php @@ -6,13 +6,11 @@ function wc_admin_register_script() { // Are we displaying the full React app or just embedding the header on a classic screen? $screen_id = wc_admin_get_current_screen_id(); - error_log( $screen_id ); - if ( in_array( $screen_id, wc_admin_get_embed_enabled_screen_ids() ) ) { - $js_entry = 'dist/embedded.js'; + $js_entry = 'dist/embedded.js'; $css_entry = 'dist/css/embedded.css'; } else { - $js_entry = 'dist/index.js'; + $js_entry = 'dist/index.js'; $css_entry = 'dist/css/index.css'; }