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

Conversation

@danielbachhuber
Copy link
Member

Also handles adding prev link when outside of bounds

Removes query_navigation_headers() from WP_REST_Response, which was an oddball.

Fixes #890

Also handles adding `prev` link when outside of bounds
@danielbachhuber
Copy link
Member Author

@WP-API/amigos #reviewmerge

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#protip phpunit --filter test_get_items_pagination_headers

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Derp. Can you remove?

joehoyle added a commit that referenced this pull request May 8, 2015
Set pagination headers even when no found posts
@joehoyle joehoyle merged commit bc4c834 into develop May 8, 2015
@joehoyle joehoyle deleted the 890-post-pagination branch May 8, 2015 00:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants