mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-09 23:24:34 +00:00
Privacy: Introduce filters for the headers of all the privacy-related e-mails:
* `wp_privacy_personal_data_email_headers` * `user_request_confirmed_email_headers` * `user_erasure_complete_email_headers` * `user_request_action_email_headers` Props xkon, garrett-eclipse, zaffarn, desrosj. Fixes #44501. git-svn-id: https://develop.svn.wordpress.org/trunk@47279 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1798,6 +1798,8 @@ class Tests_User extends WP_UnitTestCase {
|
||||
/**
|
||||
* Testing the `wp_privacy_additional_user_profile_data` filter works.
|
||||
*
|
||||
* @since 5.4.0
|
||||
*
|
||||
* @ticket 47509
|
||||
*/
|
||||
function test_filter_wp_privacy_additional_user_profile_data() {
|
||||
@@ -1881,6 +1883,8 @@ class Tests_User extends WP_UnitTestCase {
|
||||
/**
|
||||
* Filter callback to add additional profile data to the User Group on Export Requests.
|
||||
*
|
||||
* @since 5.4.0
|
||||
*
|
||||
* @ticket 47509
|
||||
*
|
||||
* @return array $additional_profile_data The additional user data.
|
||||
@@ -1902,6 +1906,8 @@ class Tests_User extends WP_UnitTestCase {
|
||||
*
|
||||
* This callback should generate a `_doing_it_wrong()`.
|
||||
*
|
||||
* @since 5.4.0
|
||||
*
|
||||
* @ticket 47509
|
||||
*
|
||||
* @return array $additional_profile_data The additional user data.
|
||||
|
||||
Reference in New Issue
Block a user