Make WordPress Core

Opened 6 years ago

Closed 6 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:


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

Attachments (2)

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

Download all attachments as: .zip

Change History (5)

6 years ago

#1 @TobiasBg
6 years ago

Whoops, pinking shears in the patch as well.

6 years ago

#2 @jorbin
6 years ago

  • Keywords commit added

Version without pinking shears.

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