WordPress.org

Make WordPress Core

Ticket #44332: 44332.diff

File 44332.diff, 648 bytes (added by subrataemfluence, 3 years ago)
  • user.php

    diff --git src/wp-includes/user.php b/user.php
    index 566702f..8b0b62a 100755
    old new function get_password_reset_key( $user ) { 
    21992199        /**
    22002200         * Fires before a new password is retrieved.
    22012201         *
    2202          * Use the {@see 'retrieve_password'} hook instead.
    2203          *
    2204          * @since 1.5.0
    2205          * @deprecated 1.5.1 Misspelled. Use 'retrieve_password' hook instead.
    2206          *
    2207          * @param string $user_login The user login name.
    2208          */
    2209         do_action( 'retreive_password', $user->user_login );
    2210 
    2211         /**
    2212          * Fires before a new password is retrieved.
    2213          *
    22142202         * @since 1.5.1
    22152203         *
    22162204         * @param string $user_login The user login name.