From d27c3941ea23c449c4e8066c642c54f32af77068 Mon Sep 17 00:00:00 2001 From: jonathansadowski Date: Mon, 30 Oct 2023 12:35:54 -0500 Subject: [PATCH] Allow print_r in beta tester logger (#41101) --- .../api/tracks/class-tracks-debug-log.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/woocommerce-beta-tester/api/tracks/class-tracks-debug-log.php b/plugins/woocommerce-beta-tester/api/tracks/class-tracks-debug-log.php index c6e2173ac67..7d123637b83 100644 --- a/plugins/woocommerce-beta-tester/api/tracks/class-tracks-debug-log.php +++ b/plugins/woocommerce-beta-tester/api/tracks/class-tracks-debug-log.php @@ -71,6 +71,7 @@ class Tracks_Debug_Log { foreach ( $properties as $key => $property ) { if ( is_array( $property ) ) { + // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_print_r $property = print_r( $property, true ); } if ( $logger ) {