WordPress.org

WordPRess GSoC Trac

Opened 9 months ago

Closed 9 months ago

#348 closed enhancement (fixed)

Separate the post endpoints from the router

Reported by: rmccue Owned by: rmccue
Milestone: 2013 Final (1.0) Priority: normal
Component: JSON REST API Keywords:
Cc:

Description

The WP_JSON_Server class is becoming unwieldy as-is with the tasks of both routing and serving the API, as well as holding the post endpoints.

These should be split into a separate class. This will also help when implementing custom post type endpoints, such as in #271.

Change History (1)

comment:1 rmccue9 months ago

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

In 2206:

Separate the post-related endpoints

Fixes #348

Note: See TracTickets for help on using tickets.