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

Improve deleting of cache in edit/delete/publish actions - rev #577



Copy link

@stodorovic stodorovic commented Jul 30, 2018

  • Use get_sample_permalink to get correct URL if current post's status isn't 'publish'.
  • Add deprecation notice for wpsc_delete_cats_tags. There is replacement - wpsc_delete_post_archives.
  • Call wpsc_delete_post_archives from function wp_cache_post_change - to clear all archive pages which are in relation with changed post.

It's replacement for #506.

@donnchawp donnchawp merged commit 6100603 into Automattic:master Aug 8, 2018
@stodorovic stodorovic deleted the stodorovic:fix-issues-related-to-post-edit-rev2 branch Aug 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.