Privacy: Remove some unnecessary parameters being passed to `wp_update_post()` by `wp_generate_user_request_key()`.
Props garrett-eclipse. Fixes #44908. Built from https://develop.svn.wordpress.org/trunk@44491 git-svn-id: http://core.svn.wordpress.org/trunk@44322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f7d21862e8
commit
53e40b7fda
|
@ -3534,8 +3534,6 @@ function wp_generate_user_request_key( $request_id ) {
|
||||||
'ID' => $request_id,
|
'ID' => $request_id,
|
||||||
'post_status' => 'request-pending',
|
'post_status' => 'request-pending',
|
||||||
'post_password' => $wp_hasher->HashPassword( $key ),
|
'post_password' => $wp_hasher->HashPassword( $key ),
|
||||||
'post_modified' => current_time( 'mysql', false ),
|
|
||||||
'post_modified_gmt' => current_time( 'mysql', true ),
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.1-alpha-44490';
|
$wp_version = '5.1-alpha-44491';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue