remove error_reporting from ms-files.php, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@13038 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
153659240c
commit
ae2abd74d9
@ -15,8 +15,6 @@ if ( ! defined( 'SHORTINIT' ) ) {
|
|||||||
|
|
||||||
ms_default_constants( 'ms-files' );
|
ms_default_constants( 'ms-files' );
|
||||||
|
|
||||||
error_reporting(0);
|
|
||||||
|
|
||||||
if ( $current_blog->archived == '1' || $current_blog->spam == '1' || $current_blog->deleted == '1' ) {
|
if ( $current_blog->archived == '1' || $current_blog->spam == '1' || $current_blog->deleted == '1' ) {
|
||||||
status_header( 404 );
|
status_header( 404 );
|
||||||
die( '404 — File not found.' );
|
die( '404 — File not found.' );
|
||||||
|
Loading…
Reference in New Issue
Block a user