[wp-trac] [WordPress Trac] #48627: Invalid function param type
WordPress Trac
noreply at wordpress.org
Thu Nov 14 08:45:01 UTC 2019
#48627: Invalid function param type
------------------------------+-----------------------------
Reporter: manikmist09 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.7
Severity: normal | Keywords: has-patch
Focuses: coding-standards |
------------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48627>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list