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