Commit 3624bf1
committed
Privacy: Set
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@61137 602fd350-edb4-49c9-b593-d223f7449a82$request->confirm_key earlier so it can be reused in 2 places.1 parent 2068d4e commit 3624bf1
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4844 | 4844 | | |
4845 | 4845 | | |
4846 | 4846 | | |
| 4847 | + | |
| 4848 | + | |
| 4849 | + | |
| 4850 | + | |
| 4851 | + | |
| 4852 | + | |
| 4853 | + | |
4847 | 4854 | | |
4848 | 4855 | | |
4849 | 4856 | | |
| |||
4852 | 4859 | | |
4853 | 4860 | | |
4854 | 4861 | | |
4855 | | - | |
| 4862 | + | |
4856 | 4863 | | |
4857 | 4864 | | |
4858 | 4865 | | |
| |||
0 commit comments