Ticket #44314: 44314.10.diff
File 44314.10.diff, 8.0 KB (added by , 3 years ago) |
---|
-
src/wp-includes/user.php
3676 3676 3677 3677 /* translators: Do not translate SITENAME, USER_EMAIL, DESCRIPTION, MANAGE_URL, SITEURL; those are placeholders. */ 3678 3678 $content = __( 3679 // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect, PEAR.Functions.FunctionCallSignature.Indent 3680 'Howdy, 3679 'Howdy, 3681 3680 3682 3681 A user data privacy request has been confirmed on ###SITENAME###: 3683 3682 … … 3696 3695 /** 3697 3696 * Filters the body of the user request confirmation email. 3698 3697 * 3699 * Use {@see 'user_request_confirmed_email_content'} instead.3698 * The email is sent to an administrator when a user request is confirmed. 3700 3699 * 3701 * The email is sent to an administrator when an user request is confirmed.3702 *3703 3700 * The following strings have a special meaning and will get replaced dynamically: 3704 3701 * 3705 3702 * ###SITENAME### The name of the site. … … 3708 3705 * ###MANAGE_URL### The URL to manage requests. 3709 3706 * ###SITEURL### The URL to the site. 3710 3707 * 3711 * For fulfillment email content use {@see 'user_erasure_fulfillment_email_content'} instead.3712 *3713 3708 * @since 4.9.6 3709 * @deprecated 5.8.0 Use {@see 'user_request_confirmed_email_content'} instead. 3710 * For user erasure fulfillment email content 3711 * use {@see 'user_erasure_fulfillment_email_content'} instead. 3714 3712 * 3715 * @deprecated 5.8.0 Use {@see 'user_request_confirmed_email_content'} instead. For fulfillment email content use {@see 'user_erasure_fulfillment_email_content'} instead.3716 *3717 3713 * @param string $content The email content. 3718 3714 * @param array $email_data { 3719 3715 * Data relating to the account action email. … … 3720 3716 * 3721 3717 * @type WP_User_Request $request User request object. 3722 3718 * @type string $user_email The email address confirming a request 3723 * @type string $description Description of the action being performed so the user knows what the email is for. 3719 * @type string $description Description of the action being performed 3720 * so the user knows what the email is for. 3724 3721 * @type string $manage_url The link to click manage privacy requests of this type. 3725 3722 * @type string $sitename The site name sending the mail. 3726 3723 * @type string $siteurl The site URL sending the mail. … … 3732 3729 array( $content, $email_data ), 3733 3730 '5.8.0', 3734 3731 sprintf( 3735 /* translators: 1 & 2: Deprecation replacement options */3732 /* translators: 1 & 2: Deprecation replacement options. */ 3736 3733 __( '%1$s or %2$s' ), 3737 3734 'user_request_confirmed_email_content', 3738 3735 'user_erasure_fulfillment_email_content' … … 3742 3739 /** 3743 3740 * Filters the body of the user request confirmation email. 3744 3741 * 3745 * The email is sent to an administrator when a nuser request is confirmed.3742 * The email is sent to an administrator when a user request is confirmed. 3746 3743 * The following strings have a special meaning and will get replaced dynamically: 3747 3744 * 3748 3745 * ###SITENAME### The name of the site. … … 3864 3861 /** 3865 3862 * Filters the subject of the email sent when an erasure request is completed. 3866 3863 * 3867 * Use {@see 'user_erasure_fulfillment_email_subject'} instead.3868 *3869 3864 * @since 4.9.8 3870 *3871 3865 * @deprecated 5.8.0 Use {@see 'user_erasure_fulfillment_email_subject'} instead. 3872 3866 * 3873 3867 * @param string $subject The email subject. … … 3884 3878 * @type string $siteurl The site URL sending the mail. 3885 3879 * } 3886 3880 */ 3887 $subject = apply_filters_deprecated( 'user_erasure_complete_email_subject', array( $subject, $email_data['sitename'], $email_data ), '5.8.0', 'user_erasure_fulfillment_email_subject' ); 3881 $subject = apply_filters_deprecated( 3882 'user_erasure_complete_email_subject', 3883 array( $subject, $email_data['sitename'], $email_data ), 3884 '5.8.0', 3885 'user_erasure_fulfillment_email_subject' 3886 ); 3888 3887 3889 3888 /** 3890 3889 * Filters the subject of the email sent when an erasure request is completed. … … 3909 3908 3910 3909 /* translators: Do not translate SITENAME, SITEURL; those are placeholders. */ 3911 3910 $content = __( 3912 // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect, PEAR.Functions.FunctionCallSignature.Indent 3913 'Howdy, 3911 'Howdy, 3914 3912 3915 3913 Your request to erase your personal data on ###SITENAME### has been completed. 3916 3914 … … 3924 3922 if ( ! empty( $email_data['privacy_policy_url'] ) ) { 3925 3923 /* translators: Do not translate SITENAME, SITEURL, PRIVACY_POLICY_URL; those are placeholders. */ 3926 3924 $content = __( 3927 // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect, PEAR.Functions.FunctionCallSignature.Indent 3928 'Howdy, 3925 'Howdy, 3929 3926 3930 3927 Your request to erase your personal data on ###SITENAME### has been completed. 3931 3928 … … 3942 3939 /** 3943 3940 * Filters the body of the data erasure fulfillment notification. 3944 3941 * 3945 * Use {@see 'user_erasure_fulfillment_email_content'} instead. 3946 * 3947 * The email is sent to a user when a their data erasure request is fulfilled 3942 * The email is sent to a user when their data erasure request is fulfilled 3948 3943 * by an administrator. 3949 3944 * 3950 3945 * The following strings have a special meaning and will get replaced dynamically: … … 3953 3948 * ###PRIVACY_POLICY_URL### Privacy policy page URL. 3954 3949 * ###SITEURL### The URL to the site. 3955 3950 * 3956 * For user request confirmation email content use {@see 'user_request_confirmed_email_content'} instead.3957 *3958 3951 * @since 4.9.6 3952 * @deprecated 5.8.0 Use {@see 'user_erasure_fulfillment_email_content'} instead. 3953 * For user request confirmation email content 3954 * use {@see 'user_request_confirmed_email_content'} instead. 3959 3955 * 3960 * @deprecated 5.8.0 Use {@see 'user_erasure_fulfillment_email_content'} instead. For user request confirmation email content use {@see 'user_request_confirmed_email_content'} instead.3961 *3962 3956 * @param string $content The email content. 3963 3957 * @param array $email_data { 3964 3958 * Data relating to the account action email. … … 3977 3971 array( $content, $email_data ), 3978 3972 '5.8.0', 3979 3973 sprintf( 3980 /* translators: 1 & 2: Deprecation replacement options */3974 /* translators: 1 & 2: Deprecation replacement options. */ 3981 3975 __( '%1$s or %2$s' ), 3982 3976 'user_erasure_fulfillment_email_content', 3983 3977 'user_request_confirmed_email_content' … … 3987 3981 /** 3988 3982 * Filters the body of the data erasure fulfillment notification. 3989 3983 * 3990 * The email is sent to a user when atheir data erasure request is fulfilled3984 * The email is sent to a user when their data erasure request is fulfilled 3991 3985 * by an administrator. 3992 3986 * 3993 3987 * The following strings have a special meaning and will get replaced dynamically: … … 4022 4016 /** 4023 4017 * Filters the headers of the data erasure fulfillment notification. 4024 4018 * 4025 * Use {@see 'user_erasure_fulfillment_email_headers'} instead.4026 *4027 4019 * @since 5.4.0 4028 *4029 4020 * @deprecated 5.8.0 Use {@see 'user_erasure_fulfillment_email_headers'} instead. 4030 4021 * 4031 4022 * @param string|array $headers The email headers. … … 4044 4035 * @type string $siteurl The site URL sending the mail. 4045 4036 * } 4046 4037 */ 4047 $headers = apply_filters_deprecated( 'user_erasure_complete_email_headers', array( $headers, $subject, $content, $request_id, $email_data ), '5.8.0', 'user_erasure_fulfillment_email_headers' ); 4038 $headers = apply_filters_deprecated( 4039 'user_erasure_complete_email_headers', 4040 array( $headers, $subject, $content, $request_id, $email_data ), 4041 '5.8.0', 4042 'user_erasure_fulfillment_email_headers' 4043 ); 4048 4044 4049 4045 /** 4050 4046 * Filters the headers of the data erasure fulfillment notification. … … 4290 4286 4291 4287 /* translators: Do not translate DESCRIPTION, CONFIRM_URL, SITENAME, SITEURL: those are placeholders. */ 4292 4288 $content = __( 4293 // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect, PEAR.Functions.FunctionCallSignature.Indent 4294 'Howdy, 4289 'Howdy, 4295 4290 4296 4291 A request has been made to perform the following action on your account: 4297 4292