[wp-trac] [WordPress Trac] #44685: Expired validation links do not always correctly trigger errors
WordPress Trac
noreply at wordpress.org
Tue Jul 31 15:27:30 UTC 2018
#44685: Expired validation links do not always correctly trigger errors
--------------------------+-----------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9.9
Component: Privacy | Version: 4.9.6
Severity: normal | Keywords: has-patch
Focuses: |
--------------------------+-----------------------
When a user clicks a `confirmaction` link for a privacy request and the
request is not pending or failed, it should return an error saying `This
link has expired.`. Currently, the error message is being returned as a
string and not as a `WP_Error` instance. This is causing a success message
to display to the user instead of the correct error message.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44685>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list