Opened 6 years ago
Closed 6 years ago
#48627 closed defect (bug) (duplicate)
Invalid function param type
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 4.7 |
| Component: | REST API | Keywords: | has-patch |
| Focuses: | coding-standards | Cc: |
Description
method prepare_item_for_response in WP_REST_Terms_Controller rest controller accepth $item param as object type but in docblock it says obj which is invalid.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi there, thanks for the ticket and the patch!
We're already tracking this issue in #48616, reported a few hours ago.