WordPress.org

Make WordPress Core

Ticket #23811: 23811.diff

File 23811.diff, 453 bytes (added by markoheijnen, 13 months ago)

Possible fix

  • wp-includes/load.php

     
    277277                } 
    278278        } else { 
    279279                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 ); 
     280 
     281                if( defined('XMLRPC_REQUEST') ) 
     282                        ini_set( 'display_errors', 0 ); 
    280283        } 
    281284} 
    282285