diff options
author | John Blackbourn <johnbillion@git.wordpress.org> | 2025-04-21 11:47:11 +0000 |
---|---|---|
committer | John Blackbourn <johnbillion@git.wordpress.org> | 2025-04-21 11:47:11 +0000 |
commit | a1bce5f880b7c7b125f92fa468c2adedd354ece5 (patch) | |
tree | deead298cd0fd8f0e1114c3ef065257680d92ebb /src/wp-admin/includes/privacy-tools.php | |
parent | 0bf5949d0127c29dd483c1ebb859970682024a55 (diff) | |
download | wordpress-a1bce5f880b7c7b125f92fa468c2adedd354ece5.tar.gz wordpress-a1bce5f880b7c7b125f92fa468c2adedd354ece5.zip |
Docs: Improve and standardise the format of placeholder strings that get replaced within email messages.
This prevents the strings being treated as h3 headings by the documentation parser on developer.wordpress.org.
See #63166
git-svn-id: https://develop.svn.wordpress.org/trunk@60178 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/wp-admin/includes/privacy-tools.php')
-rw-r--r-- | src/wp-admin/includes/privacy-tools.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/wp-admin/includes/privacy-tools.php b/src/wp-admin/includes/privacy-tools.php index c5d7c9a97f..d5853185eb 100644 --- a/src/wp-admin/includes/privacy-tools.php +++ b/src/wp-admin/includes/privacy-tools.php @@ -613,7 +613,7 @@ function wp_privacy_send_personal_data_export_email( $request_id ) { /** * Filters the recipient of the personal data export email notification. - * Should be used with great caution to avoid sending the data export link to wrong emails. + * Should be used with great caution to avoid sending the data export link to the wrong email. * * @since 5.3.0 * @@ -678,10 +678,11 @@ All at ###SITENAME### * Filters the text of the email sent with a personal data export file. * * The following strings have a special meaning and will get replaced dynamically: - * ###EXPIRATION### The date when the URL will be automatically deleted. - * ###LINK### URL of the personal data export file for the user. - * ###SITENAME### The name of the site. - * ###SITEURL### The URL to the site. + * + * - `###EXPIRATION###` The date when the URL will be automatically deleted. + * - `###LINK###` URL of the personal data export file for the user. + * - `###SITENAME###` The name of the site. + * - `###SITEURL###` The URL to the site. * * @since 4.9.6 * @since 5.3.0 Introduced the `$email_data` array. |