Nginx Helper doesn't clear local cache on comment (option variable comparison error)


#1

Hi guys, plugin is awesome, but it doesn’t purge post cache on comment. I did some investigation and found this:

file: class-purger.php
line: 99
it’s:

if ( 1 === $nginx_helper_admin->options[‘purge_page_on_new_comment’] ) {

should be:

if ( 1 === (int)$nginx_helper_admin->options[‘purge_page_on_new_comment’] ) {

I hope you will fix this soon. Thank you.


closed #2

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.