Version Description
- Fix typo (on -> one)
- Correct permissions on Multisite (props @phh - resolves #27 #28)
- Correct weird merge error (props @phh - resolves #25 #26)
- Fix formatting in Changelog
Download this release
Release Info
Developer | Ipstenu |
Plugin | Varnish HTTP Purge |
Version | 4.0.1 |
Comparing to | |
See all releases |
Code changes from version 4.0 to 4.0.1
- readme.txt +7 -1
- varnish-http-purge.php +3 -3
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Ipstenu, mikeschroder, techpriester
|
|
3 |
Tags: varnish, purge, cache
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.7
|
6 |
-
Stable tag: 4.0
|
7 |
|
8 |
Automatically purge Varnish Cache when content on your site is modified.
|
9 |
|
@@ -209,6 +209,12 @@ Yes I do, and yes and no. This plugin is installed by default for _all_ DreamPre
|
|
209 |
|
210 |
== Changelog ==
|
211 |
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
= 4.0 =
|
213 |
* Added Varnish Status Page - Tools -> Varnish Status (includes basic scanning etc)
|
214 |
* Allow filter for `home_url()`
|
3 |
Tags: varnish, purge, cache
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.7
|
6 |
+
Stable tag: 4.0.1
|
7 |
|
8 |
Automatically purge Varnish Cache when content on your site is modified.
|
9 |
|
209 |
|
210 |
== Changelog ==
|
211 |
|
212 |
+
= 4.0.1 =
|
213 |
+
* Fix typo (on -> one)
|
214 |
+
* Correct permissions on Multisite (props @phh - resolves #27 #28)
|
215 |
+
* Correct weird merge error (props @phh - resolves #25 #26)
|
216 |
+
* Fix formatting in Changelog
|
217 |
+
|
218 |
= 4.0 =
|
219 |
* Added Varnish Status Page - Tools -> Varnish Status (includes basic scanning etc)
|
220 |
* Allow filter for `home_url()`
|
varnish-http-purge.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Varnish HTTP Purge
|
4 |
Plugin URI: https://halfelf.org/plugins/varnish-http-purge/
|
5 |
Description: Automatically purge Varnish Cache when content on your site is modified.
|
6 |
-
Version: 4.0
|
7 |
Author: Mika Epstein
|
8 |
Author URI: https://halfelf.org/
|
9 |
License: http://www.apache.org/licenses/LICENSE-2.0
|
@@ -97,7 +97,7 @@ class VarnishPurger {
|
|
97 |
// Multisite - Network Admin can always purge
|
98 |
current_user_can('manage_network') ||
|
99 |
// Multisite - Site admins can purge UNLESS it's a subfolder install and we're on site #1
|
100 |
-
( is_multisite() &&
|
101 |
) {
|
102 |
add_action( 'admin_bar_menu', array( $this, 'varnish_rightnow_adminbar' ), 100 );
|
103 |
}
|
@@ -461,4 +461,4 @@ if ( defined('WP_CLI') && WP_CLI ) {
|
|
461 |
*
|
462 |
* @since 4.0
|
463 |
*/
|
464 |
-
include_once( 'varnish-status.php' );
|
3 |
Plugin Name: Varnish HTTP Purge
|
4 |
Plugin URI: https://halfelf.org/plugins/varnish-http-purge/
|
5 |
Description: Automatically purge Varnish Cache when content on your site is modified.
|
6 |
+
Version: 4.0.1
|
7 |
Author: Mika Epstein
|
8 |
Author URI: https://halfelf.org/
|
9 |
License: http://www.apache.org/licenses/LICENSE-2.0
|
97 |
// Multisite - Network Admin can always purge
|
98 |
current_user_can('manage_network') ||
|
99 |
// Multisite - Site admins can purge UNLESS it's a subfolder install and we're on site #1
|
100 |
+
( is_multisite() && current_user_can('activate_plugins') && ( SUBDOMAIN_INSTALL || ( !SUBDOMAIN_INSTALL && ( BLOG_ID_CURRENT_SITE != $blog_id ) ) ) )
|
101 |
) {
|
102 |
add_action( 'admin_bar_menu', array( $this, 'varnish_rightnow_adminbar' ), 100 );
|
103 |
}
|
461 |
*
|
462 |
* @since 4.0
|
463 |
*/
|
464 |
+
include_once( 'varnish-status.php' );
|