Typo added in be05eea5da (diff-133db5662c51f5686d87611121a05a3bR45)
This commit is contained in:
Rodrigo Primo 2019-03-13 09:10:53 -03:00
parent 2c14a8ddfb
commit ab89222cfa
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}