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 the purge caching issue when the post status is changed to draft or pending #174

Merged

Commits on Feb 12, 2019

  1. Get permalink on post status change

    Get the permalink using get_sample_permalink() on post status other than publish. Use get_permalink() when post status is publish.
    The reason why we use get_sample_permalink(0, because get_permalink() does not return pretty permalink for draft or pending posts.
    imranhsayed committed Feb 12, 2019
    Configuration menu
    Copy the full SHA
    668e793 View commit details
    Browse the repository at this point in the history