Make WordPress Core

Ticket #44265: 44265.3.diff

File 44265.3.diff, 1.4 KB (added by desrosj, 7 years ago)

Patch refresh to work with r43388.

  • src/wp-includes/user.php

     
    31323132                $email_data['sitename']
    31333133        );
    31343134
     3135        /**
     3136         * Filters the subject of the email sent when an erasure request is completed.
     3137         *
     3138         * @since 4.9.7
     3139         *
     3140         * @param string $subject    The email subject.
     3141         * @param string $sitename   The name of the site.
     3142         * @param array  $email_data {
     3143         *     Data relating to the account action email.
     3144         *
     3145         *     @type WP_User_Request $request            User request object.
     3146         *     @type string          $message_recipient  The address that the email will be sent to. Defaults
     3147         *                                               to the value of `$request->email`, but can be changed
     3148         *                                               by the `user_erasure_fulfillment_email_to` filter.
     3149         *     @type string          $privacy_policy_url Privacy policy URL.
     3150         *     @type string          $sitename           The site name sending the mail.
     3151         *     @type string          $siteurl            The site URL sending the mail.
     3152         * }
     3153         */
     3154        $subject = apply_filters( 'user_erasure_complete_email_subject', $subject, $email_data['sitename'], $email_data );
     3155
    31353156        if ( empty( $email_data['privacy_policy_url'] ) ) {
    31363157                /* translators: Do not translate SITENAME, SITEURL; those are placeholders. */
    31373158                $email_text = __(