mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
revert remove error_reporting from ms-files.php, remove _deprecated_file call from blogs.php, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@13040 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -15,6 +15,8 @@ if ( ! defined( 'SHORTINIT' ) ) {
|
||||
|
||||
ms_default_constants( 'ms-files' );
|
||||
|
||||
error_reporting( 0 );
|
||||
|
||||
if ( $current_blog->archived == '1' || $current_blog->spam == '1' || $current_blog->deleted == '1' ) {
|
||||
status_header( 404 );
|
||||
die( '404 — File not found.' );
|
||||
|
||||
Reference in New Issue
Block a user