WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#34490 closed defect (bug) (fixed)

REST API: Wrong WP version in _doing_it_wrong() call

Reported by: TobiasBg Owned by: SergeyBiryukov
Milestone: 4.4 Priority: normal
Severity: normal Version: 4.4
Component: REST API Keywords: has-patch commit
Focuses: Cc:

Description

The version number passed to _doing_it_wrong() should be the WordPress version, here.

Attachments (2)

34490.diff (1.4 KB) - added by TobiasBg 5 years ago.
34490.2.diff (687 bytes) - added by jorbin 5 years ago.

Download all attachments as: .zip

Change History (5)

@TobiasBg
5 years ago

#1 @TobiasBg
5 years ago

Whoops, pinking shears in the patch as well.

@jorbin
5 years ago

#2 @jorbin
5 years ago

  • Keywords commit added

Version without pinking shears.

#3 @SergeyBiryukov
5 years ago

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

In 35434:

REST API: Use correct version in _doing_it_wrong() call.

Props TobiasBg.
Fixes #34490.

Note: See TracTickets for help on using tickets.