Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#48627 closed defect (bug) (duplicate)

Invalid function param type

Reported by: manikmist09's profile manikmist09 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)

48627.patch (1000 bytes) - added by manikmist09 5 years ago.

Download all attachments as: .zip

Change History (2)

@manikmist09
5 years ago

#1 @SergeyBiryukov
5 years 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.