[wp-trac] [WordPress Trac] #44685: Expired validation links do not always correctly trigger errors

WordPress Trac noreply at wordpress.org
Mon Sep 3 21:46:51 UTC 2018


#44685: Expired validation links do not always correctly trigger errors
------------------------------+-----------------------------
 Reporter:  desrosj           |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.9.9
Component:  Privacy           |     Version:  4.9.6
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"43624" 43624]:
 {{{
 #!CommitTicketReference repository="" revision="43624"
 Privacy: When clicking a confirmation link for a privacy request, return a
 `WP_Error` object if the link has expired.

 Returning a string caused a success message to be displayed instead of the
 correct error message.

 Props desrosj.
 Merges [43623] to the 4.9 branch.
 Fixes #44685.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44685#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list