Fix typo
Typo added in be05eea5da (diff-133db5662c51f5686d87611121a05a3bR45)
This commit is contained in:
parent
2c14a8ddfb
commit
ab89222cfa
|
@ -42,7 +42,7 @@ class WC_AJAX {
|
|||
wc_maybe_define_constant( 'DOING_AJAX', true );
|
||||
wc_maybe_define_constant( 'WC_DOING_AJAX', true );
|
||||
if ( ! WP_DEBUG || ( WP_DEBUG && ! WP_DEBUG_DISPLAY ) ) {
|
||||
@ini_set( 'display_errors', 0 ); // Turn off display_errors during AJAX events to prevent malformed JSON. phpcs
|
||||
@ini_set( 'display_errors', 0 ); // Turn off display_errors during AJAX events to prevent malformed JSON.
|
||||
}
|
||||
$GLOBALS['wpdb']->hide_errors();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue