WordPress.org

Make WordPress Core

Ticket #44314: 44314.diff

File 44314.diff, 1022 bytes (added by desrosj, 14 months ago)
  • src/wp-includes/user.php

     
    31553155         * ###SITEURL###            The URL to the site.
    31563156         *
    31573157         * @since 4.9.6
     3158         * @since 4.9.7 Renamed filter from user_confirmed_action_email_content to user_erasure_fulfillment_email_content.
    31583159         *
    31593160         * @param string $email_text Text in the email.
    31603161         * @param array  $email_data {
     
    31693170         *     @type string          $siteurl            The site URL sending the mail.
    31703171         * }
    31713172         */
    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 );
    31733174
    31743175        $content = str_replace( '###SITENAME###', wp_specialchars_decode( $email_data['sitename'], ENT_QUOTES ), $content );
    31753176        $content = str_replace( '###PRIVACY_POLICY_URL###', $email_data['privacy_policy_url'], $content );