Privacy: Add $request
to $email_data
to make it available to all filters.
Props desrosj. Fixes #44379. git-svn-id: https://develop.svn.wordpress.org/trunk@43477 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6612d0e452
commit
7a86b55763
@ -3368,6 +3368,7 @@ function wp_send_user_request( $request_id ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$email_data = array(
|
$email_data = array(
|
||||||
|
'request' => $request,
|
||||||
'email' => $request->email,
|
'email' => $request->email,
|
||||||
'description' => wp_user_request_action_description( $request->action_name ),
|
'description' => wp_user_request_action_description( $request->action_name ),
|
||||||
'confirm_url' => add_query_arg( array(
|
'confirm_url' => add_query_arg( array(
|
||||||
|
Loading…
Reference in New Issue
Block a user