Skip to content

Commit 494e8e3

Browse files
committed
Docs: Update since tag for wp_get_user_request().
This function was renamed to `wp_get_user_request()` in r47245 in WP 5.4.0, and the former deprecated. However, the docblock for `wp_get_user_request()` wasn't updated and wrongly indicates it was introduced in 4.9.6, when it was actually 5.4.0. Props lakshyajeet, nikunj8866, apermo, masteradhoc, crmv1. Fixes #65132. git-svn-id: https://develop.svn.wordpress.org/trunk@62653 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 76f9763 commit 494e8e3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/wp-includes/user.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5117,6 +5117,7 @@ function wp_validate_user_request_key(
51175117
* Returns the user request object for the specified request ID.
51185118
*
51195119
* @since 4.9.6
5120+
* @since 5.4.0 Renamed from wp_get_user_request_data() to wp_get_user_request().
51205121
*
51215122
* @param int $request_id The ID of the user request.
51225123
* @return WP_User_Request|false

0 commit comments

Comments
 (0)