WordPRess GSoC

Opened 5 years ago

Closed 5 years 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:


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)

#1 @rmccue
5 years 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.