Make WordPress Core

Opened 3 years ago

Last modified 17 months ago

#54442 new defect (bug)

Provide feedback if initiating an email for a personal data request action has failed

Reported by: ocean90's profile ocean90 Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 4.9.6
Component: Privacy Keywords: good-first-bug has-patch
Focuses: Cc:


When creating a request for an export or a delete personal data request and the confirmation email is enabled, the user doesn't get any feedback if wp_send_user_request() was successful. The function returns a WP_Error object on failure which should be checked and displayed to the user.


Attachments (1)

54442.diff (949 bytes) - added by hasanuzzamanshamim 3 years ago.
Error check patch created

Download all attachments as: .zip

Change History (3)

3 years ago

Error check patch created

#1 @hasanuzzamanshamim
3 years ago

  • Keywords has-patch added

This ticket was mentioned in PR #4083 on WordPress/wordpress-develop by @atiqsu.

17 months ago

  • Checking if request action is WP_Error, if so sending settings error to be displayed to the use
  • Updated gitignore for phpStorm IDE

The code is actually from @hasanuzzamanshamim with little update.

Trac ticket:

Note: See TracTickets for help on using tickets.