Index: src/wp-includes/load.php
===================================================================
--- src/wp-includes/load.php	(revision 36527)
+++ src/wp-includes/load.php	(working copy)
@@ -300,7 +300,7 @@
 	} else {
 		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 );
 	}
-	if ( defined( 'XMLRPC_REQUEST' ) )
+	if ( defined( 'XMLRPC_REQUEST' ) || defined( 'REST_REQUEST' ) )
 		ini_set( 'display_errors', 0 );
 }
 
