Skip to content

Commit a6c7cf1

Browse files
committed
Use console.info() instead of console.log()
1 parent b19e57b commit a6c7cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/optimization-detective/optimization.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ static function () use ( $reasons ): void {
108108
foreach ( $reasons as $reason ) {
109109
wp_print_inline_script_tag(
110110
sprintf(
111-
'console.log( %s );',
111+
'console.info( %s );',
112112
(string) wp_json_encode( '[Optimization Detective] ' . $reason )
113113
),
114114
array( 'type' => 'module' )

0 commit comments

Comments
 (0)