Make WordPress Core

Opened 7 months ago

Closed 7 months ago

#48627 closed defect (bug) (duplicate)

Invalid function param type

Reported by: manikmist09 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7
Component: REST API Keywords: has-patch
Focuses: coding-standards Cc:


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)

48627.patch (1000 bytes) - added by manikmist09 7 months ago.

Download all attachments as: .zip

Change History (2)

7 months ago

#1 @SergeyBiryukov
7 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, thanks for the ticket and the patch!

We're already tracking this issue in #48616, reported a few hours ago.

Note: See TracTickets for help on using tickets.