[wp-trac] [WordPress Trac] #43967: Admin emails after email confirmation don't work for GDPR requests
WordPress Trac
noreply at wordpress.org
Wed May 9 18:57:39 UTC 2018
#43967: Admin emails after email confirmation don't work for GDPR requests
------------------------------+---------------------------------
Reporter: garrett-eclipse | Owner: (none)
Type: defect (bug) | Status: new
Priority: high | Milestone: 4.9.6
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: gdpr needs-patch | Focuses: ui, administration
------------------------------+---------------------------------
Comment (by pbarthmaier):
Also, and perhaps off topic, tried to add more info about which request
was being honored, to improve clarity:
{{{
/**
* Return request confirmation message HTML.
*
* @since 4.9.6
* @access private
*
* @return string $message The confirmation message.
*/
function _wp_privacy_account_request_confirmed_message( $message,
$request_id ) {
$request = wp_get_user_request_data( $request_id );
$description = wp_user_request_action_description(
$request->action_name );
if ( $request && in_array( $request->action_name,
_wp_privacy_action_request_types(), true ) ) {
$message = '<p class="message">' . __( "{$description}
Action has been confirmed." ) . '</p>';
$message .= __( 'The site administrator has been notified
and will fulfill your request as soon as possible.' );
$message .= print_r( $request );
}
return $message;
}
}}}
which yields:
![Alt text](https://monosnap.com/image/b1hU8JCB3n9yfPy65jBpRSjGoJiXIk.png)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43967#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list