Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#34490 closed defect (bug) (fixed)

REST API: Wrong WP version in _doing_it_wrong() call

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

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 11 years ago.
34490.2.diff​ (687 bytes ) - added by jorbin 11 years ago.

Download all attachments as: .zip

Change History (5)

#1 @TobiasBg
11 years ago

Whoops, pinking shears in the patch as well.

#2 @jorbin
11 years ago

  • Keywords commit added

Version without pinking shears.

#3 @SergeyBiryukov
11 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → 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.