Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#38279 closed defect (bug) (fixed)

REST API Unit Test Docs: Remove reference to the plugin

Reported by: kraftbj Owned by: rachelbaker
Priority: lowest Milestone: 4.7
Component: REST API Version: 4.4
Severity: trivial Keywords: has-patch
Cc: Focuses: docs

Description

In the unit tests for the REST API infrastructure, a mention the "the plugin should be installed and activated", referring to when the infrastructure was in the feature plugin. Since that is merged to Core, the reference is outdated.

Attachments (2)

38279.diff​ (442 bytes ) - added by kraftbj 10 years ago.
38279.2.diff​ (613 bytes ) - added by rachelbaker 10 years ago.

Download all attachments as: .zip

Change History (4)

@kraftbj
10 years ago

#1 @rachelbaker
10 years ago

  • Milestone Awaiting Review → 4.7

@rachelbaker
10 years ago

#2 @rachelbaker
10 years ago

  • Owner set to rachelbaker
  • Resolution → fixed
  • Status new → closed

In 38771:

REST API: Remove reference to the plugin in infrastructure activation test.

Also adds class exists checks for WP_REST_Request and WP_REST_Response.

Props kraftbj.
Fixes #38279.

Note: See TracTickets for help on using tickets.