Make WordPress Core


Ignore:
Timestamp:
07/07/2026 08:25:18 AM (4 weeks ago)
Author:
swissspidy
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user.php

    r62632 r62653  
    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.
Note: See TracChangeset for help on using the changeset viewer.