WordPress.org

Make WordPress Core

Changes between Version 27 and Version 28 of Ticket #48693, comment 12


Ignore:
Timestamp:
01/17/2020 08:11:14 AM (19 months ago)
Author:
autotutorial
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48693, comment 12

    v27 v28  
    6060                error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );
    6161        }
    62 $old_value = error_reporting( 0 );
     62$old_value = error_reporting();
     63error_reporting( 0 );
    6364        if ( defined( 'XMLRPC_REQUEST' ) || defined( 'REST_REQUEST' ) || ( defined( 'WP_INSTALLING' ) && WP_INSTALLING ) || wp_doing_ajax() || wp_is_json_request() ) {
    6465                ini_set( 'display_errors', 0 );