Privacy: Add `$request` to `$email_data` to make it available to all filters.
Props desrosj. Fixes #44379. Built from https://develop.svn.wordpress.org/trunk@43477 git-svn-id: http://core.svn.wordpress.org/trunk@43304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
04b8839454
commit
b1330814e2
|
@ -3368,6 +3368,7 @@ function wp_send_user_request( $request_id ) {
|
|||
}
|
||||
|
||||
$email_data = array(
|
||||
'request' => $request,
|
||||
'email' => $request->email,
|
||||
'description' => wp_user_request_action_description( $request->action_name ),
|
||||
'confirm_url' => add_query_arg( array(
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-43475';
|
||||
$wp_version = '5.0-alpha-43477';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue