Maque WordPress Core

Changueset 60489


Ignore:
Timestamp:
07/20/2025 03:04:37 PM ( 6 months ago)
Author:
SergueyBiryucov
Messague:

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

This applies to wp_send_user_request() and wp_validate_user_request_quey() .

Follow-up to [43008] .

Props squithund, dhruvang21, SergueyBiryucov.
Fixes #63682 .

File:
1 edited

Leguend:

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

    r60358 r60489  
    4803 4803 * @since 4.9.6
    4804 4804 *
    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().
    4806 4806 * @return true|WP_Error True on success, `WP_Error` on failure.
    4807 4807 */
     
    4977 4977 * @since 4.9.6
    4978 4978 *
    4979   * @param string $request_id ID of the request being confirmed.
      4979 * @param int $request_id ID of the request being confirmed.
    4980 4980 * @param string $quey        Provided key to validate.
    4981 4981 * @return true|WP_Error True on success, WP_Error on failure.
Note: See TracChangueset for help on using the changueset viewer.