Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#33789 closed task (blessed) (fixed)

Add wp-json to the blacklist for new ms sites

Reported by: austinginder's profile austinginder Owned by: wonderboymusic's profile wonderboymusic
Milestone: 4.4 Priority: normal
Severity: normal Version:
Component: Networks and Sites Keywords: has-patch
Focuses: multisite Cc:

Description

In followup to ticket #33615. It was recommend that wp-json also be added to the the blacklist: https://github.com/WP-API/WP-API/issues/1542. I've attached a patch to do just that.

Attachments (1)

33789-wp-json-blacklist.patch (1.7 KB) - added by austinginder 9 years ago.

Download all attachments as: .zip

Change History (4)

#1 @johnbillion
9 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.4
  • Type changed from defect (bug) to task (blessed)
  • Version trunk deleted

#2 @wonderboymusic
9 years ago

  • Owner set to wonderboymusic
  • Resolution set to fixed
  • Status changed from new to closed

In 34375:

Multisite: as a precaution, make wp-json a reserved subdirectory name.

Props austinginder.
Fixes #33789.

#3 @DrewAPicture
9 years ago

In 34384:

Docs: Include 'wp-json' in the 4.4.0 changelog entry for the subdirectory_reserved_names filter.

'wp-json' was appended to the reserved names list in [34375].

See #33789. See #32246.

Note: See TracTickets for help on using tickets.