PluginProbe
Loginizer / trunk
Loginizer vtrunk
2.1.1 2.1.0 2.0.9 2.0.8 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 All 75 releases
← All changes | main/social-base.php +3 -0 2.0.3 → trunk View file →
@@ -94,8 +94,11 @@
94 94 }
95 95
96 96 update_user_option($user_id, 'default_password_nag', true, true); // This will show alert to user to change the password.
97 97 $user = get_user_by('ID', $user_id);
98 +
99 + // Following the default WordPress registration flow, we will notify user about the creation of new account.
100 + do_action('register_new_user', $user_id);
98 101
99 102 // Save avatar if possible.
100 103 $tried_to_download = get_user_meta($user->ID, 'loginizer_avatar_download', true);
101 104 if(!empty($data['photoURL']) && !empty($loginizer['social_settings']['general']['save_avatar']) && empty($tried_to_download)){