nginx-helper icon indicating copy to clipboard operation
nginx-helper copied to clipboard

Prevent double purge on post

Open RavanH opened this issue 6 years ago • 1 comments

Sometime update post status hook may run twice. See https://wordpress.org/support/topic/purge-on-publish-sometimes-runs-twice/

RavanH avatar Feb 28 '19 02:02 RavanH

@RavanH Apologies for the late reply. When the user updates the already published post then the old and new status will be publish and in that case this PR change won't purge the post after post update. Let me know if I'm missing something here.

chandrapatel avatar Oct 22 '20 12:10 chandrapatel