Opened 4 years ago
Closed 4 years ago
#52175 closed defect (bug) (fixed)
Docs: Wrong parameter type used for Rest User controller
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.7 | Priority: | normal |
Severity: | normal | Version: | 5.6 |
Component: | REST API | Keywords: | has-patch |
Focuses: | docs, rest-api | Cc: |
Description
In class-wp-rest-users-controller.php line 1076 prepare_links method documented wrongly.
@param WP_User should be instead of WP_Post
Attachments (2)
Change History (5)
#1
@
4 years ago
- Keywords has-patch added
- Summary changed from PHPDoc parameter type issue on Rest User controller to Docs: Wrong parameter type used for Rest User controller
Hi there and welcome to WordPress Core Trac,
Thank you for spotting this! 52175.diff fixed the doc issue.
Note: See
TracTickets for help on using
tickets.
Code fragment screenshot