wp_update_user( array|object|WP_User $userdata ): int|WP_Error
- Since
- 2.0.0
- Source
wp-includes/user.php:2676
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
- 19–306
- 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 342.
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) && !isset($userdata) | 19 | __() |
!($userdata instanceof) && !isset($userdata) | 24 | get_userdata(), __() |
!($userdata instanceof) && is_wp_error() | 49–58 | get_userdata(), ->to_array(), _get_additional_user_keys(), add_magic_quotes(), clean_user_cache(), array_merge(), wp_insert_user(), is_wp_error() |
!($userdata instanceof) && is_wp_error() | 60–65 | 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) && !isset($userdata) && !empty($userdata) && is_wp_error() | 74–79 | 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) | 79–90 | 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) | 81–94 | 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) | 81–92 | 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) | 83–96 | 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) && !empty($userdata) && is_wp_error() | 85–86 | 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) | 90–97 | 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) | 92–101 | 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 306 instructions
!($userdata instanceof) && isset($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 92–99 | 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) | 94–103 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 104–111 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 106–115 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 106–113 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 108–117 | 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 | 109–120 | 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 | 111–124 | 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 | 111–122 | 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 | 113–126 | 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) && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 115–118 | 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 | 116–128 | 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) && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 117–122 | 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) && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 117–120 | 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 | 118–132 | 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 | 118–130 | 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) && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 119–124 | 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 | 120–127 | 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 | 120–134 | 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 | 122–131 | 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 | 122–129 | 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 | 124–133 | 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 | 127–135 | 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 | 129–139 | 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 | 129–137 | 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 | 131–141 | 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) && !isset($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 | 134–141 | 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) && !isset($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 | 136–145 | 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) && !isset($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 | 136–143 | 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) && !isset($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 | 138–147 | 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) && !isset($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 | 141–149 | 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) && !isset($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 | 143–153 | 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) && !isset($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 | 143–151 | 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) && !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 | 145–148 | 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) && !isset($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 | 145–155 | 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) && !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 | 147–152 | 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) && !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 | 147–150 | 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) | 148–165 | 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) && !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 | 149–154 | 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() | 150–169 | 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) | 150–167 | 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() | 152–171 | 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) && !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 | 152–156 | 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) && !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 | 154–160 | 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) && !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 | 154–158 | 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) && !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 | 156–162 | 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) | 159–172 | 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() | 161–176 | 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) | 161–174 | 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() | 163–178 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 173–186 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() | 175–190 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 175–188 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() | 177–192 | 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 | 178–195 | 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 | 180–199 | 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 | 180–197 | 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 | 182–201 | 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) && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 184–193 | 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 | 185–203 | 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) && !empty($userdata) && !is_wp_error() | 186–197 | 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) && !empty($userdata) && !is_wp_error() && empty($send_password_change_email) && empty($send_email_change_email) | 186–195 | 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 | 187–207 | 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 | 187–205 | 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) && !empty($userdata) && !is_wp_error() | 188–199 | 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 | 189–202 | 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 | 189–209 | 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 | 191–206 | 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 | 191–204 | 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 | 193–208 | 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 | 196–210 | 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 | 198–214 | 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 | 198–212 | 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 | 200–216 | 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) && !isset($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 | 203–216 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 205–220 | 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) && !isset($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 | 205–218 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 207–222 | 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) && !isset($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 | 210–224 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 212–228 | 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) && !isset($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 | 212–226 | 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) && !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 | 214–223 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 214–230 | 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) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 216–227 | 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) && !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 | 216–225 | 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) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 218–229 | 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) && !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 | 221–231 | 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() | 223–234 | 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) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 223–235 | 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) && !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 | 223–233 | 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) | 225–238 | 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() | 225–236 | 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) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 225–237 | 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) | 227–240 | 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() | 234–241 | 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) | 236–245 | 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() | 236–243 | 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) | 238–247 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() | 248–255 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) | 250–259 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() | 250–257 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) | 252–261 | 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 | 253–264 | 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 | 255–268 | 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 | 255–266 | 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 | 257–270 | 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) && !empty($userdata) && !is_wp_error() | 259–262 | 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 | 260–272 | 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) && !empty($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) | 261–266 | 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) && !empty($userdata) && !is_wp_error() | 261–264 | 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 | 262–276 | 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 | 262–274 | 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) && !empty($userdata) && !is_wp_error() && !empty($send_password_change_email) && !empty($send_email_change_email) | 263–268 | 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 | 264–271 | 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 | 264–278 | 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 | 266–275 | 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 | 266–273 | 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 | 268–277 | 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 | 271–279 | 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 | 273–283 | 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 | 273–281 | 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 | 275–285 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 278–285 | 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) && !isset($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 | 280–289 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 280–287 | 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) && !isset($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 | 282–291 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 285–293 | 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) && !isset($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 | 287–297 | 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) && !isset($userdata) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 287–295 | 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) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 289–292 | 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) && !isset($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 | 289–299 | 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) && !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 | 291–296 | 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) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie === false | 291–294 | 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) && !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 | 293–298 | 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) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 296–300 | 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) && !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 | 298–304 | 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) && !empty($userdata) && !is_wp_error() && $user_id === false && isset($plaintext_pass) && $logged_in_cookie !== false | 298–302 | 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) && !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 | 300–306 | 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 | 342 | 19–306 | 22 | |
| 8.5 | 342 | 19–306 | 22 | |
| 8.4 | 342 | 19–306 | 22 | 33 fewer instructions than PHP 8.3 |
| 8.3 | 375 | 19–339 | 22 | |
| 8.2 | 375 | 19–339 | 22 | |
| 8.1 | 375 | 19–339 | 22 | 1 fewer instruction than PHP 7.4 |
| 7.4 | 376 | 19–339 | 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 2712 (+36 into the body)
Fires after the user password is set.
- apply_filters( send_password_change_email )filterline 2725 (+49 into the body)
Filters whether to send the password change email.
- apply_filters( send_email_change_email )filterline 2740 (+64 into the body)
Filters whether to send the email change email.
- apply_filters( password_change_email )filterline 2807 (+131 into the body)
Filters the contents of the email sent when the user's password is changed.
- apply_filters( email_change_email )filterline 2866 (+190 into the body)
Filters the contents of the email sent when the user's email is changed.
- apply_filters( auth_cookie_expiration )filterline 2892 (+216 into the body)
Filters the duration of the authentication cookie expiration period.
- do_action( wp_update_user )actionline 2920 (+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 = isset( $userdata['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 6.9.7 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.