Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for multiple values on "Link" header #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pabamato
Copy link

Sample header value with page as front page ( added by wp_shortlink_header() ):
link →http://www.site.com/wp-json/; rel="http://api.w.org/", https://www.site.com/; rel=shortlink

Sample header value with posts as front page:
Link →http://www.site.com/wp-json/; rel="https://api.w.org/"

pabamato added 2 commits May 19, 2017 21:32
Sample header value with page as front page ( added by wp_shortlink_header() ):
link →<http://www.site.com/wp-json/>; rel="http://api.w.org/", <https://www.site.com/>; rel=shortlink

Sample header value with posts as front page:
Link →<http://www.site.com/wp-json/>; rel="https://api.w.org/"
…-header

Fix for multiple values on "Link" header
bryceadams added a commit to bryceadams/discovery-php that referenced this pull request Jun 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant