Quantcast
Channel: wp-super-cache – WordPress.org Forums
Viewing all articles
Browse latest Browse all 3480

Justin Busa on "[Plugin: WP Super Cache] The wpcache_broken_message function in advanced-cache.php breaks frontend AJAX."

$
0
0

Our plugin makes front-end AJAX requests instead of using admin-ajax.php because we need to render shortcodes (and some don't render in the admin).

In the advanced-cache.php file, a shutdown function is being registered that outputs an HTML comment into our JSON response when WP Super Cache is broken. Could the method of alerting a user to a broken WP Super Cache install be changed (possibly a message on the plugins page) to fix this issue? I have to imagine this could potentially affect others making front-end AJAX requests that expect a JSON response.

Thanks!
Justin

https://wordpress.org/plugins/wp-super-cache/


Viewing all articles
Browse latest Browse all 3480

Trending Articles