Changeset 52607
- Timestamp:
- 01/19/2022 01:37:58 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r52606 r52607 3031 3031 } 3032 3032 3033 // Wrap the single notification email arguments in an array to pass them to the retrieve_password_notification_email filter. 3033 /* 3034 * Wrap the single notification email arguments in an array 3035 * to pass them to the retrieve_password_notification_email filter. 3036 */ 3034 3037 $defaults = array( 3035 3038 'to' => $user_email, … … 3046 3049 * @since 6.0.0 3047 3050 * 3048 * @param array $ notification_email{3051 * @param array $defaults { 3049 3052 * The default notification email arguments. Used to build wp_mail(). 3050 3053 * … … 3062 3065 * } 3063 3066 */ 3064 $notification_email = apply_filters( 'retrieve_password_notification_email', $ notification_email, $data );3067 $notification_email = apply_filters( 'retrieve_password_notification_email', $defaults, $data ); 3065 3068 3066 3069 if ( $switched_locale ) {
Note: See TracChangeset
for help on using the changeset viewer.