Ticket #19445: 19445.diff
File 19445.diff, 661 bytes (added by , 12 years ago) |
---|
-
wp-includes/user.php
91 91 92 92 if ( is_multisite() ) { 93 93 // Is user marked as spam? 94 if ( 1 == $user->spam )95 return new WP_Error(' invalid_username', __('<strong>ERROR</strong>: Your account has been marked as a spammer.'));94 if ( 1 == $user->spam ) 95 return new WP_Error('spammer_account', __('<strong>ERROR</strong>: Your account has been marked as a spammer.')); 96 96 97 97 // Is a user's blog marked as spam? 98 98 if ( !is_super_admin( $user->ID ) && isset($user->primary_blog) ) {