Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Consistently show the context param as an endpoint argument for GET requests #1706

Closed

Description

@rachelbaker

In WP_REST_Controller->get_collection_params() we define the top-level collection params:

  • page
  • per_page
  • search

We should add to that the context param as well, so we have it consistently in the collection params.

Additionally, I don't think we define the params for our single item endpoints. We should communicate the context param there as well.

Activity

  1. added this to the 2.0 Beta 6 milestone on Oct 31, 2015
  2. danielbachhuber commented on Nov 12, 2015

    @danielbachhuber
    Member

    Bumping to Beta 7. This bug isn't a regression, so it doesn't need to be addressed before we land Beta 6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Sponsor
    SponsoredKunjungi sekarang
    Promo