wp_update_user( array|object|WP_User $userdata ): int|WP_Error
- Since
- 2.0.0
- Source
wp-includes/user.php:2733
Description
It is possible to update a user's password by specifying the 'user_pass' value in the $userdata parameter array.
If current user's password is being updated, then the cookies will be cleared.
Compatibility
- WordPress
- since 2.0.0
- PHP
- 7.4–8.6-dev
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0), and compiles on PHP 7.4 through 8.6-dev.
Parameters
$userdataarray|object|WP_User- An array of user data or a user object of type stdClass or WP_User.
Return value
int|WP_Error- The updated user's ID or a WP_Error object if the user could not be updated.
Performance profile
How much work a call to wp_update_user() does, and what it touches: the algorithmic scaling, the Zend instruction count per call across PHP versions, the hooks it hands control to, and the core code that calls it. Measured from the compiled opcodes, not a stopwatch, so every number is identical on any machine running the same PHP version, and every function in core is ranked by cost.
- Cost class
- Expensive
- Scaling
- Scales with input
- Instructions
- 18–305
- Plugin surface
- 7 hooks
- Called by
- 6
Sends mail via wp_mail().
The body loops, so the work grows with what you pass in.
Executed per call on PHP 8.5, depending on the branch taken. The body compiles to 339.
Third-party callbacks on 'wp_set_password', 'send_password_change_email', 'send_email_change_email' run inside this call, and their cost is not bounded by anything here.
6 places in core call this, so the cost is paid more often than your own code shows.
What it touches
- hookthird-party callbacks
do_action()called directly - optionoption read or write
get_option()called directly - mailsends mail
wp_mail()called directly - querycontent query
get_user_by()one call below wp_update_user() - cacheobject cache
wp_cache_delete()one call below wp_update_user() - serializeserialisation
maybe_unserialize()one call below wp_update_user()
Further down the call graph this can also reach transient. That is the worst case, several calls deep and usually down an error path, not what a normal call pays.
What one call costs · 150 distinct outcomes
One number would be a lie: the work depends on which branch runs. These are every distinct cost wp_update_user() can have, taken from its control-flow graph on PHP 8.5.
| When | Instructions | Calls it makes |
|---|---|---|
!($userdata instanceof) && !$userdata | 18 | __() |
!($userdata instanceof) && !$userdata | 23 | get_userdata(), __() |
!($userdata instanceof) && is_wp_error() | 48–57 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error() |
!($userdata instanceof) && !$userdata && isset($userdata) && is_wp_error() | 59–64 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error() |
!($userdata instanceof) && !$userdata && !empty($userdata) && is_wp_error() | 73–78 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 78–89 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 80–93 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 80–91 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 82–95 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && is_wp_error() | 84–85 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 89–96 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), wp_get_current_user(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 91–100 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), wp_get_current_user(), do_action() |
138 further outcomes, up to 305 instructions
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 91–98 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 93–102 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 103–110 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 105–114 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 105–112 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 107–116 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 108–119 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 110–123 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 110–121 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 112–125 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 114–117 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 115–127 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 116–121 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 116–119 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 117–131 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 117–129 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 118–123 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 119–126 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 119–133 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 121–130 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 121–128 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 123–132 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 126–134 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 128–138 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 128–136 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 130–140 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 133–140 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 135–144 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 135–142 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 137–146 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 140–148 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 142–152 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 142–150 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 144–147 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 144–154 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 146–151 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 146–149 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 147–164 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 148–153 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() | 149–168 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 149–166 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !is_wp_error() | 151–170 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 151–155 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 153–159 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 153–157 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 155–161 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 158–171 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() | 160–175 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 160–173 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() | 162–177 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 172–185 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() | 174–189 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 174–187 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() | 176–191 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 177–194 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 179–198 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 179–196 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 181–200 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 183–192 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 184–202 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() | 185–196 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 185–194 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 186–206 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 186–204 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() | 187–198 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 188–201 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 188–208 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 190–205 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 190–203 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 192–207 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 195–209 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 197–213 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 197–211 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 199–215 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 202–215 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 204–219 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 204–217 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 206–221 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 209–223 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 211–227 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 211–225 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 213–222 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 213–229 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 215–226 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 215–224 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 217–228 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 220–230 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() | 222–233 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 222–234 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 222–232 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) | 224–237 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !is_wp_error() | 224–235 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 224–236 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) | 226–239 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() | 233–240 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) | 235–244 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() | 235–242 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) | 237–246 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() | 247–254 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) | 249–258 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() | 249–256 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) | 251–260 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 252–263 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 254–267 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 254–265 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 256–269 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() | 258–261 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 259–271 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) | 260–265 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() | 260–263 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 261–275 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 261–273 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) | 262–267 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 263–270 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 263–277 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 265–274 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 265–272 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 267–276 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 270–278 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 272–282 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 272–280 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && isset($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 274–284 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 277–284 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 279–288 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 279–286 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 281–290 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 284–292 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 286–296 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 286–294 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 288–291 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 288–298 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 290–295 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 290–293 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 292–297 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 295–299 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 297–303 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 297–301 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
!($userdata instanceof) && !$userdata && !empty($userdata) && isset($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 299–305 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), wp_hash_password(), do_action(), apply_filters(), apply_filters(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error(), get_option(), wp_specialchars_decode(), switch_to_user_locale(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), __(), __(), apply_filters(), get_option(), home_url(), sprintf(), wp_mail(), restore_previous_locale(), wp_get_current_user(), wp_parse_auth_cookie(), apply_filters(), wp_clear_auth_cookie(), time(), wp_set_auth_cookie(), do_action() |
This body has more branch combinations than are worth enumerating, so the table covers the outcomes found first rather than every one that exists.
Across PHP versions
| PHP | Compiled | Executed | Branches | Notes |
|---|---|---|---|---|
| 8.6-dev | 339 | 18–305 | 22 | |
| 8.5 | 339 | 18–305 | 22 | |
| 8.4 | 339 | 18–305 | 22 | 33 fewer instructions than PHP 8.3 |
| 8.3 | 372 | 18–338 | 22 | |
| 8.2 | 372 | 18–338 | 22 | |
| 8.1 | 372 | 18–338 | 22 | |
| 7.4 | 372 | 18–338 | 22 |
An instruction is not a fixed amount of time, so a matching count is not necessarily the same speed; what it rules out is a difference in the work itself.
Hooks and filters fired · 7
7 hooks fire while wp_update_user() runs, in this order:
- do_action( wp_set_password )actionline 2769 (+36 into the body)
Fires after the user password is set.
- apply_filters( send_password_change_email )filterline 2782 (+49 into the body)
Filters whether to send the password change email.
- apply_filters( send_email_change_email )filterline 2797 (+64 into the body)
Filters whether to send the email change email.
- apply_filters( password_change_email )filterline 2864 (+131 into the body)
Filters the contents of the email sent when the user's password is changed.
- apply_filters( email_change_email )filterline 2923 (+190 into the body)
Filters the contents of the email sent when the user's email is changed.
- apply_filters( auth_cookie_expiration )filterline 2949 (+216 into the body)
Filters the duration of the authentication cookie expiration period.
- do_action( wp_update_user )actionline 2977 (+244 into the body)
Fires after the user has been updated and emails have been sent.
Uses · 22
- __()Retrieves the translation of $text.
- get_userdata()Retrieves user info by user ID.
- _get_additional_user_keys()Returns a list of meta keys to be (maybe) populated in wp_update_user().
- get_user_meta()Retrieves user meta field for a user.
- add_magic_quotes()Walks the array while sanitizing the contents.
- wp_hash_password()Creates a hash of a plain text password.
- do_action()Calls the callback functions that have been added to an action hook.
- apply_filters()Calls the callback functions that have been added to a filter hook.
- clean_user_cache()Cleans all user caches.
- wp_insert_user()Inserts a user into the database.
- is_wp_error()Checks whether the given variable is a WordPress Error.
- wp_specialchars_decode()Converts a number of HTML entities into their special characters.
Show all 22
- get_option()Retrieves an option value based on an option name.
- switch_to_user_locale()Switches the translations according to the given user's locale.
- home_url()Retrieves the URL for the current site where the front end is accessible.
- wp_mail()Sends an email, similar to PHP's mail function.
- restore_previous_locale()Restores the translations according to the previous locale.
- wp_get_current_user()Retrieves the current user object.
- wp_parse_auth_cookie()Parses a cookie into its components.
- wp_clear_auth_cookie()Removes all of the cookies associated with authentication.
- wp_set_auth_cookie()Sets the authentication cookies for a given user ID.
- WP_Error::__construct()Initializes the error.
Used by · 6
- WP_REST_Users_Controller::create_item()Creates a single user.
- WP_REST_Users_Controller::update_item()Updates a single user.
- edit_user()Edit user settings based on contents of $_POST
- get_password_reset_key()Creates, stores, then returns a password reset key for user.
- wp_install()Installs the site.
- wp_xmlrpc_server::wp_editProfile()Edits user's profile.
Source code
function wp_update_user( $userdata ) { if ( $userdata instanceof stdClass ) { $userdata = get_object_vars( $userdata ); } elseif ( $userdata instanceof WP_User ) { $userdata = $userdata->to_array(); } $userdata_raw = $userdata; $user_id = (int) ( $userdata['ID'] ?? 0 ); if ( ! $user_id ) { return new WP_Error( 'invalid_user_id', __( 'Invalid user ID.' ) ); } // First, get all of the original fields. $user_obj = get_userdata( $user_id ); if ( ! $user_obj ) { return new WP_Error( 'invalid_user_id', __( 'Invalid user ID.' ) ); } $user = $user_obj->to_array(); // Add additional custom fields. foreach ( _get_additional_user_keys( $user_obj ) as $key ) { $user[ $key ] = get_user_meta( $user_id, $key, true ); } // Escape data pulled from DB. $user = add_magic_quotes( $user ); if ( ! empty( $userdata['user_pass'] ) && $userdata['user_pass'] !== $user_obj->user_pass ) { // If password is changing, hash it now. $plaintext_pass = $userdata['user_pass']; $userdata['user_pass'] = wp_hash_password( $userdata['user_pass'] ); /** This action is documented in wp-includes/pluggable.php */ do_action( 'wp_set_password', $plaintext_pass, $user_id, $user_obj ); /** * Filters whether to send the password change email. * * @since 4.3.0 * * @see wp_insert_user() For `$user` and `$userdata` fields. * * @param bool $send Whether to send the email. * @param array $user The original user array. * @param array $userdata The updated user array. */ $send_password_change_email = apply_filters( 'send_password_change_email', true, $user, $userdata ); } if ( isset( $userdata['user_email'] ) && $user['user_email'] !== $userdata['user_email'] ) { /** * Filters whether to send the email change email. * * @since 4.3.0 * * @see wp_insert_user() For `$user` and `$userdata` fields. * * @param bool $send Whether to send the email. * @param array $user The original user array. * @param array $userdata The updated user array. */ $send_email_change_email = apply_filters( 'send_email_change_email', true, $user, $userdata ); } clean_user_cache( $user_obj ); // Merge old and new fields with new fields overwriting old ones. $userdata = array_merge( $user, $userdata ); $user_id = wp_insert_user( $userdata ); if ( is_wp_error( $user_id ) ) { return $user_id; } $blog_name = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ); $switched_locale = false;Changelog
Introduced in 2.0.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, from
src/wp-includes/user.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.