Changeset 22108 for trunk/wp-includes/ms-load.php
- Timestamp:
- 10/04/2012 12:40:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-load.php
r19760 r22108 70 70 */ 71 71 function ms_site_check() { 72 global $wpdb, $current_blog; 72 global $wpdb; 73 74 $blog = get_blog_details(); 73 75 74 76 // Allow short-circuiting … … 81 83 return true; 82 84 83 if ( '1' == $ current_blog->deleted ) {85 if ( '1' == $blog->deleted ) { 84 86 if ( file_exists( WP_CONTENT_DIR . '/blog-deleted.php' ) ) 85 87 return WP_CONTENT_DIR . '/blog-deleted.php'; … … 88 90 } 89 91 90 if ( '2' == $ current_blog->deleted ) {92 if ( '2' == $blog->deleted ) { 91 93 if ( file_exists( WP_CONTENT_DIR . '/blog-inactive.php' ) ) 92 94 return WP_CONTENT_DIR . '/blog-inactive.php'; … … 95 97 } 96 98 97 if ( $ current_blog->archived == '1' || $current_blog->spam == '1' ) {99 if ( $blog->archived == '1' || $blog->spam == '1' ) { 98 100 if ( file_exists( WP_CONTENT_DIR . '/blog-suspended.php' ) ) 99 101 return WP_CONTENT_DIR . '/blog-suspended.php';
Note: See TracChangeset
for help on using the changeset viewer.