Privacy: Add $request to $email_data to make it available to all filters.

Props desrosj.
Merges [43477] to the 4.9 branch.
Fixes #44379.
Built from https://develop.svn.wordpress.org/branches/4.9@43488


git-svn-id: http://core.svn.wordpress.org/branches/4.9@43315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-07-17 16:10:27 +00:00
parent d954d6213a
commit c22ddf38ed
2 changed files with 2 additions and 1 deletions

View File

@ -3290,6 +3290,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(

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9.8-alpha-43487';
$wp_version = '4.9.8-alpha-43488';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.