[wp-trac] [WordPress Trac] #63682: wp_send_user_request() incorrect type for $request_id in phpdoc

WordPress Trac noreply at wordpress.org
Thu Jul 10 06:58:30 UTC 2025


#63682: wp_send_user_request() incorrect type for $request_id in phpdoc
--------------------------+-----------------------------
 Reporter:  skithund      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Privacy       |    Version:  4.9.6
 Severity:  minor         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 `$request_id` param in `wp_send_user_request( $request_id )` is "ID of the
 request created via wp_create_user_request()."

 `wp_create_user_request()` returns `int`, so phpdoc type should be should
 be `int` and not `string`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63682>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list