Changeset 12827 for trunk/wp-includes/ms-load.php
- Timestamp:
- 01/25/2010 10:09:43 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/ms-load.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-load.php
r12787 r12827 92 92 } else { 93 93 header('HTTP/1.1 410 Gone'); 94 graceful_fail(__('This user has elected to delete their account and the content is no longer available.'));94 wp_die(__('This user has elected to delete their account and the content is no longer available.')); 95 95 } 96 } elseif ( '2' == $current_blog->deleted ) { 97 if ( file_exists( WP_CONTENT_DIR . '/blog-inactive.php' ) ) 98 return WP_CONTENT_DIR . '/blog-inactive.php'; 99 else 100 wp_die( sprintf( __( 'This blog has not been activated yet. If you are having problems activating your blog, please contact <a href="mailto:%1$s">%1$s</a>.' ), str_replace( '@', ' AT ', get_site_option( 'admin_email', "support@{$current_site->domain}" ) ) ) ); 96 101 } 97 102 98 if ( '2' == $current_blog->deleted ) { 99 if ( file_exists( WP_CONTENT_DIR . '/blog-inactive.php' ) ) { 100 return WP_CONTENT_DIR . '/blog-inactive.php'; 101 } else { 102 graceful_fail( sprintf( __( 'This blog has not been activated yet. If you are having problems activating your blog, please contact <a href="mailto:%1$s">%1$s</a>.' ), str_replace( '@', ' AT ', get_site_option( 'admin_email', "support@{$current_site->domain}" ) ) ) ); 103 } 104 } 105 106 if( $current_blog->archived == '1' || $current_blog->spam == '1' ) { 103 if ( $current_blog->archived == '1' || $current_blog->spam == '1' ) { 107 104 if ( file_exists( WP_CONTENT_DIR . '/blog-suspended.php' ) ) { 108 105 return WP_CONTENT_DIR . '/blog-suspended.php'; 109 106 } else { 110 107 header('HTTP/1.1 410 Gone'); 111 graceful_fail(__('This blog has been archived or suspended.'));108 wp_die(__('This blog has been archived or suspended.')); 112 109 } 113 110 } 111 114 112 return true; 115 113 }
Note:
See TracChangeset
for help on using the changeset viewer.