Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Hide Purge Cache button when purge is disabled #218
The purge feature is disable (enable_purge unchecked) on our network, but the "Purge cache" button still appears, confusing our users because it does not actually purge our (memcached) cache.
So we added a condition in includes/class-nginx-helper.php around line 206 to fix this :
It would be cool if this fix could be included in the next releases ? :)