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.
context param as an endpoint argument for GET requests #1706
In
WP_REST_Controller->get_collection_params()we define the top-level collection params:pageper_pagesearchWe should add to that the
contextparam 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.