⚡ NEW: Changeset/ - HD Photos!

Changeset 60489


Ignore:
Timestamp:
07/20/2025 03:04:37 PM (5 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct the type of the $request_id parameter in privacy functions.

This applies to wp_send_user_request() and wp_validate_user_request_key().

Follow-up to [43008].

Props skithund, dhruvang21, SergeyBiryukov.
Fixes #63682.

File:
1 edited

Legend:

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

    r60358 r60489  
    48034803 * @since 4.9.6
    48044804 *
    4805  * @param string $request_id ID of the request created via wp_create_user_request().
     4805 * @param int $request_id ID of the request created via wp_create_user_request().
    48064806 * @return true|WP_Error True on success, `WP_Error` on failure.
    48074807 */
     
    49774977 * @since 4.9.6
    49784978 *
    4979  * @param string $request_id ID of the request being confirmed.
     4979 * @param int    $request_id ID of the request being confirmed.
    49804980 * @param string $key        Provided key to validate.
    49814981 * @return true|WP_Error True on success, WP_Error on failure.
Note: See TracChangeset for help on using the changeset viewer.