summaryrefslogtreecommitdiffstats
path: root/wp-includes/pluggable.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/pluggable.php')
-rw-r--r--wp-includes/pluggable.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php
index 4fd64e1..8ce2985 100644
--- a/wp-includes/pluggable.php
+++ b/wp-includes/pluggable.php
@@ -341,7 +341,7 @@ function wp_login($username, $password, $already_md5 = false) {
} else {
if( is_site_admin( $username ) == false && ( $primary_blog = get_usermeta( $login->ID, "primary_blog" ) ) ) {
$details = get_blog_details( $primary_blog );
- if( is_object( $details ) && $details->archived == 1 || $details->spam == 1 || $details->deleted == 1 ) {
+ if( is_object( $details ) && $details->spam == 1 ) {
$error = __('<strong>Error</strong>: Blog suspended.');
return false;
}