[wp-trac] [WordPress Trac] #44940: Empty confirm_key property in WP_User_Request when hooking in the user_request_action_email_content

WordPress Trac noreply at wordpress.org
Tue Nov 4 18:59:05 UTC 2025


#44940: Empty confirm_key property in WP_User_Request when hooking in the
user_request_action_email_content
------------------------------------------------+--------------------------
 Reporter:  dingo_d                             |       Owner:
                                                |  johnjamesjacoby
     Type:  defect (bug)                        |      Status:  closed
 Priority:  normal                              |   Milestone:  6.9
Component:  Privacy                             |     Version:  4.9.6
 Severity:  normal                              |  Resolution:  fixed
 Keywords:  dev-feedback 2nd-opinion has-patch  |     Focuses:
------------------------------------------------+--------------------------
Changes (by johnjamesjacoby):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61137" 61137]:
 {{{
 #!CommitTicketReference repository="" revision="61137"
 Privacy: Set `$request->confirm_key` earlier so it can be reused in 2
 places.

 This commit updates the `wp_send_user_request()` function so that the
 updated confirmation key of the request is  available to both the
 confirmation URL and the subsequent filters (specifically
 `user_request_action_email_content`).

 This maintains the existing behavior of generating a new key just-in-time
 before every user request email is sent.

 Props birgire, dingo_d, garrett-eclipse, johnjamesjacoby.

 Fixes #44940.
 }}}

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


More information about the wp-trac mailing list