From 2a992663c133cf88209034b04ce7b9ff406388fa Mon Sep 17 00:00:00 2001 From: Herb Miller Date: Fri, 15 Sep 2023 16:08:13 +0100 Subject: [PATCH] Reduce trace output #106 --- libs/class-dependencies-cache.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/class-dependencies-cache.php b/libs/class-dependencies-cache.php index f3a7195..ee38364 100644 --- a/libs/class-dependencies-cache.php +++ b/libs/class-dependencies-cache.php @@ -1,6 +1,6 @@ -bw_scripts->registered ); bw_trace2( $count_wp, "count_wp and bw: $count_bw" ); - bw_trace2( $wp_scripts, "wp_scripts" ); - bw_trace2( $this->bw_scripts, "bw_scripts" ); + bw_trace2( $wp_scripts->queue, "wp_scripts queue", false, BW_TRACE_VERBOSE ); + bw_trace2( $this->bw_scripts->queue, "bw_scripts queue", false, BW_TRACE_VERBOSE ); $this->registered_scripts = array_udiff_assoc( $wp_scripts->registered, $this->bw_scripts->registered, array( $this, "wp_dependency_compare" ) ); bw_trace2( $this->registered_scripts, "registered scripts" ); @@ -191,7 +191,7 @@ function query_styles_changes() { * @return integer - less than, equal to, or greater than zero */ function wp_dependency_compare( $wp_script, $bw_script ) { - bw_trace2(); + //bw_trace2(); return( 0 ); }