Ticket #11742: 12742.5.diff
File 12742.5.diff, 1.3 KB (added by , 15 years ago) |
---|
-
wp-content/blogs.php
5 5 * @package WordPress 6 6 * @subpackage Multisite 7 7 */ 8 9 define( 'SHORTINIT', true ); 10 require_once( dirname( dirname( __FILE__) ) . '/wp-load.php' ); 11 /* l10n is not loaded on SHORTINIT */ 12 _deprecated_file( basename( __FILE__ ), '3.0', null, sprintf( 'Change your rewrite rules to use <code>%1$s</code> instead of <code>%2$s</code>.', 'wp-includes/ms-files.php', 'wp-content/blogs.php' ) ); 13 8 14 9 /** Load Multisite upload handler. */ 15 10 require_once( ABSPATH . WPINC . '/ms-files.php' ); 16 11 17 12 ?> -
wp-includes/ms-files.php
8 8 * @subpackage Multisite 9 9 */ 10 10 11 if ( ! defined( 'SHORTINIT' ) ) {12 define( 'SHORTINIT', true );13 require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );14 }15 11 12 define( 'SHORTINIT', true ); 13 require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); 14 15 error_reporting(0); 16 16 17 ms_default_constants( 'ms-files' ); 17 18 18 19 if ( $current_blog->archived == '1' || $current_blog->spam == '1' || $current_blog->deleted == '1' ) {