Opened 5 months ago
Closed 5 months ago
#63682 closed defect (bug) (fixed)
wp_send_user_request() incorrect type for $request_id in phpdoc
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.9 | Priority: | normal |
| Severity: | minor | Version: | 4.9.6 |
| Component: | Privacy | Keywords: | has-patch |
| Focuses: | Cc: |
Description
$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.
Change History (3)
This ticket was mentioned in PR #9227 on WordPress/wordpress-develop by @skithund.
5 months ago
#1
- Keywords has-patch added
Note: See
TracTickets for help on using
tickets.
$request_idis "ID of the request created via wp_create_user_request()."wp_create_user_request()returnsint, so correct type for phpdoc type should be should beint.Trac ticket: https://core.trac.wordpress.org/ticket/63682