mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 23:27:04 +00:00
s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@14315 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -97,7 +97,7 @@ function wp_authenticate_username_password($user, $username, $password) {
|
||||
if ( !is_super_admin( $userdata->ID ) && isset($userdata->primary_blog) ) {
|
||||
$details = get_blog_details( $userdata->primary_blog );
|
||||
if ( is_object( $details ) && $details->spam == 1 )
|
||||
return new WP_Error('blog_suspended', __('Blog Suspended.'));
|
||||
return new WP_Error('blog_suspended', __('Site Suspended.'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user