@@ 89-94 (lines=6) @@ | ||
86 | ||
87 | $blog = get_blog_details(); |
|
88 | ||
89 | if ( '1' == $blog->deleted ) { |
|
90 | if ( file_exists( WP_CONTENT_DIR . '/blog-deleted.php' ) ) |
|
91 | return WP_CONTENT_DIR . '/blog-deleted.php'; |
|
92 | else |
|
93 | wp_die( __( 'This site is no longer available.' ), '', array( 'response' => 410 ) ); |
|
94 | } |
|
95 | ||
96 | if ( '2' == $blog->deleted ) { |
|
97 | if ( file_exists( WP_CONTENT_DIR . '/blog-inactive.php' ) ) { |
|
@@ 110-115 (lines=6) @@ | ||
107 | } |
|
108 | } |
|
109 | ||
110 | if ( $blog->archived == '1' || $blog->spam == '1' ) { |
|
111 | if ( file_exists( WP_CONTENT_DIR . '/blog-suspended.php' ) ) |
|
112 | return WP_CONTENT_DIR . '/blog-suspended.php'; |
|
113 | else |
|
114 | wp_die( __( 'This site has been archived or suspended.' ), '', array( 'response' => 410 ) ); |
|
115 | } |
|
116 | ||
117 | return true; |
|
118 | } |