Allow print_r in beta tester logger (#41101)
This commit is contained in:
parent
c0eed18c8d
commit
d27c3941ea
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue