WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#38279 closed defect (bug) (fixed)

REST API Unit Test Docs: Remove reference to the plugin

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

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 3 years ago.
38279.2.diff (613 bytes) - added by rachelbaker 3 years ago.

Download all attachments as: .zip

Change History (4)

@kraftbj
3 years ago

#1 @rachelbaker
3 years ago

  • Milestone changed from Awaiting Review to 4.7

@rachelbaker
3 years ago

#2 @rachelbaker
3 years ago

  • Owner set to rachelbaker
  • Resolution set to fixed
  • Status changed from new to 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.