WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#34624 closed defect (bug) (fixed)

REST API: Wrong access tag for get_parameter_order

Reported by: Frozzare Owned by: ocean90
Milestone: 4.4 Priority: normal
Severity: normal Version: 4.4
Component: REST API Keywords: has-patch commit
Focuses: docs Cc:
PR Number:

Description

I notice that the method get_parameter_order in WP_REST_Request has the wrong @access tag. It says public but the method is protected.

Attachments (1)

34624.patch (481 bytes) - added by Frozzare 4 years ago.

Download all attachments as: .zip

Change History (4)

@Frozzare
4 years ago

#1 @swissspidy
4 years ago

  • Keywords has-patch added

#2 @dd32
4 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 4.4

#3 @ocean90
4 years ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

In 35612:

REST API: Use correct @access tag for WP_REST_Request->get_parameter_order().

Props Frozzare.
Fixes #34624.

Note: See TracTickets for help on using tickets.