jakobbouchard / hestia-nginx-cache

Hestia Nginx Cache Integration for WordPress.
https://wordpress.org/plugins/hestia-nginx-cache/
GNU General Public License v3.0
11 stars 4 forks source link

Bug: On frontend "Purge Nginx Cache" not working #27

Closed jaapmarcus closed 9 months ago

jaapmarcus commented 9 months ago

On the front end ajaxurl was an Object ajaxurl.ajax_url

This PR address this bug

https://wordpress.org/support/topic/the-hestia-nginx-cache-was-purged-successfully-not-show-in-page-site/

Also include "publish_post" as it may be triggered on time instead "manually"