Make WordPress Core

Ticket #34252: 34252.patch

File 34252.patch, 763 bytes (added by sudar, 9 years ago)
  • src/wp-login.php

     
    341341         * Filter the subject of the password reset email.
    342342         *
    343343         * @since 2.8.0
     344         * @since 4.4 Added `$user_login` and `$user_data` parameters.
    344345         *
    345          * @param string $title Default email title.
     346         * @param string  $title      Default email title.
     347         * @param string  $user_login The username for the user.
     348         * @param WP_User $user_data  WP_User object.
    346349         */
    347         $title = apply_filters( 'retrieve_password_title', $title );
     350        $title = apply_filters( 'retrieve_password_title', $title, $user_login, $user_data );
    348351
    349352        /**
    350353         * Filter the message body of the password reset mail.