Allow print_r in beta tester logger (#41101)

This commit is contained in:
jonathansadowski 2023-10-30 12:35:54 -05:00 committed by GitHub
parent c0eed18c8d
commit d27c3941ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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 ) {