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

send the permalink as canonicalUrl to Frost API fixes #11 #42

Merged
merged 3 commits into from
Nov 27, 2018

Conversation

markparolisi
Copy link
Contributor

I added the permalink URL to the request sent to Frost as canonicalURL
I am using the preferred way to get this data using get_permalink and similarly updated the title to use the filtered, get_the_title

Resolves #11

geoffturk
geoffturk previously approved these changes Nov 27, 2018
Copy link
Contributor

@geoffturk geoffturk left a comment

Choose a reason for hiding this comment

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

I'm fine with the permalink if that is technically the best URL to use in this case.

@geoffturk geoffturk modified the milestone: WP v1.0.3 Nov 27, 2018
@markparolisi
Copy link
Contributor Author

Yes, the permalink will get the whatever the pretty URL is. If the user doesn't have pretty permalinks turned on, they you will get the native, /?p=$post->ID route.

@lautarodragan lautarodragan merged commit ecd4e28 into master Nov 27, 2018
@lautarodragan lautarodragan deleted the ghi-11 branch November 27, 2018 16:40
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.

3 participants