Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#34490 closed defect (bug) (fixed)

REST API: Wrong WP version in _doing_it_wrong() call

Reported by: tobiasbg's profile TobiasBg Owned by: sergeybiryukov's profile 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 9 years ago.
34490.2.diff (687 bytes) - added by jorbin 9 years ago.

Download all attachments as: .zip

Change History (5)

@TobiasBg
9 years ago

#1 @TobiasBg
9 years ago

Whoops, pinking shears in the patch as well.

@jorbin
9 years ago

#2 @jorbin
9 years ago

  • Keywords commit added

Version without pinking shears.

#3 @SergeyBiryukov
9 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.