mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -687,8 +687,6 @@ function wpmu_signup_blog_notification($domain, $path, $title, $user, $user_emai
|
||||
}
|
||||
|
||||
function wpmu_signup_user_notification($user, $user_email, $key, $meta = '') {
|
||||
global $current_site;
|
||||
|
||||
if ( !apply_filters('wpmu_signup_user_notification', $user, $user_email, $key, $meta) )
|
||||
return false;
|
||||
|
||||
@@ -781,8 +779,6 @@ function wpmu_create_user( $user_name, $password, $email) {
|
||||
if ( is_wp_error($user_id) )
|
||||
return false;
|
||||
|
||||
$user = new WP_User($user_id);
|
||||
|
||||
// Newly created users have no roles or caps until they are added to a blog.
|
||||
update_user_option($user_id, 'capabilities', '');
|
||||
update_user_option($user_id, 'user_level', '');
|
||||
|
||||
Reference in New Issue
Block a user