WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/load.php

    r45590 r45611  
    353353
    354354    if ( defined( 'XMLRPC_REQUEST' ) || defined( 'REST_REQUEST' ) || ( defined( 'WP_INSTALLING' ) && WP_INSTALLING ) || wp_doing_ajax() || wp_is_json_request() ) {
    355         @ini_set( 'display_errors', 0 );
     355        ini_set( 'display_errors', 0 );
    356356    }
    357357}
     
    909909    if ( function_exists( 'mb_internal_encoding' ) ) {
    910910        $charset = get_option( 'blog_charset' );
     911        // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
    911912        if ( ! $charset || ! @mb_internal_encoding( $charset ) ) {
    912913            mb_internal_encoding( 'UTF-8' );
Note: See TracChangeset for help on using the changeset viewer.