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

WordPress Trac noreply at wordpress.org
Mon Sep 3 21:43:16 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:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43623" 43623]:
 {{{
 #!CommitTicketReference repository="" revision="43623"
 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.
 Fixes #44685.
 }}}

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


More information about the wp-trac mailing list