Changeset 58653 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 07/03/2024 04:08:55 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/pluggable.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r57990 r58653 2769 2769 global $wpdb; 2770 2770 2771 $old_user_data = get_userdata( $user_id ); 2772 2771 2773 $hash = wp_hash_password( $password ); 2772 2774 $wpdb->update( … … 2785 2787 * 2786 2788 * @since 6.2.0 2787 * 2788 * @param string $password The plaintext password just set. 2789 * @param int $user_id The ID of the user whose password was just set. 2790 */ 2791 do_action( 'wp_set_password', $password, $user_id ); 2789 * @since 6.7.0 The `$old_user_data` parameter was added. 2790 * 2791 * @param string $password The plaintext password just set. 2792 * @param int $user_id The ID of the user whose password was just set. 2793 * @param WP_User $old_user_data Object containing user's data prior to update. 2794 */ 2795 do_action( 'wp_set_password', $password, $user_id, $old_user_data ); 2792 2796 } 2793 2797 endif;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)