Ticket #44314: 44314.diff
File 44314.diff, 1022 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/user.php
3155 3155 * ###SITEURL### The URL to the site. 3156 3156 * 3157 3157 * @since 4.9.6 3158 * @since 4.9.7 Renamed filter from user_confirmed_action_email_content to user_erasure_fulfillment_email_content. 3158 3159 * 3159 3160 * @param string $email_text Text in the email. 3160 3161 * @param array $email_data { … … 3169 3170 * @type string $siteurl The site URL sending the mail. 3170 3171 * } 3171 3172 */ 3172 $content = apply_filters( 'user_ confirmed_action_email_content', $email_text, $email_data );3173 $content = apply_filters( 'user_erasure_fulfillment_email_content', $email_text, $email_data ); 3173 3174 3174 3175 $content = str_replace( '###SITENAME###', wp_specialchars_decode( $email_data['sitename'], ENT_QUOTES ), $content ); 3175 3176 $content = str_replace( '###PRIVACY_POLICY_URL###', $email_data['privacy_policy_url'], $content );