Version Description
- 10 October 2017
- Copied a wrong line.
Download this release
Release Info
Developer | Ipstenu |
Plugin | Varnish HTTP Purge |
Version | 4.3.1 |
Comparing to | |
See all releases |
Code changes from version 4.3.0 to 4.3.1
- readme.txt +6 -2
- varnish-http-purge.php +2 -2
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Ipstenu, mikeschroder, techpriester
|
|
3 |
Tags: varnish, purge, cache
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 4.3.
|
7 |
Requires PHP: 5.6
|
8 |
|
9 |
Automatically empty Varnish Cache when content on your site is modified.
|
@@ -155,8 +155,12 @@ This plugin is installed by default for _all_ DreamPress installs on DreamHost,
|
|
155 |
|
156 |
== Changelog ==
|
157 |
|
|
|
|
|
|
|
|
|
158 |
= 4.3.0 =
|
159 |
-
*
|
160 |
* Add Varnish Flush for "this" page on front end
|
161 |
* Do not flush non-public taxonomies
|
162 |
|
3 |
Tags: varnish, purge, cache
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 4.3.1
|
7 |
Requires PHP: 5.6
|
8 |
|
9 |
Automatically empty Varnish Cache when content on your site is modified.
|
155 |
|
156 |
== Changelog ==
|
157 |
|
158 |
+
= 4.3.1 =
|
159 |
+
* 10 October 2017
|
160 |
+
* Copied a wrong line.
|
161 |
+
|
162 |
= 4.3.0 =
|
163 |
+
* 10 October 2017
|
164 |
* Add Varnish Flush for "this" page on front end
|
165 |
* Do not flush non-public taxonomies
|
166 |
|
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 empty pages cached by Varnish when content on your site is modified.
|
6 |
-
Version: 4.3.
|
7 |
Author: Mika Epstein
|
8 |
Author URI: https://halfelf.org/
|
9 |
License: http://www.apache.org/licenses/LICENSE-2.0
|
@@ -526,7 +526,7 @@ class VarnishPurger {
|
|
526 |
$taxonomies = get_post_taxonomies( $postId );
|
527 |
if ( $taxonomies ) {
|
528 |
foreach ( $taxonomies as $taxonomy ) {
|
529 |
-
$features = get_taxonomy( $taxonomy );
|
530 |
if ( $features['public'] ) {
|
531 |
$terms = wp_get_post_terms( $postId, $taxonomy );
|
532 |
foreach ( $terms as $term ) {
|
3 |
Plugin Name: Varnish HTTP Purge
|
4 |
Plugin URI: https://halfelf.org/plugins/varnish-http-purge/
|
5 |
Description: Automatically empty pages cached by Varnish when content on your site is modified.
|
6 |
+
Version: 4.3.1
|
7 |
Author: Mika Epstein
|
8 |
Author URI: https://halfelf.org/
|
9 |
License: http://www.apache.org/licenses/LICENSE-2.0
|
526 |
$taxonomies = get_post_taxonomies( $postId );
|
527 |
if ( $taxonomies ) {
|
528 |
foreach ( $taxonomies as $taxonomy ) {
|
529 |
+
$features = (array) get_taxonomy( $taxonomy );
|
530 |
if ( $features['public'] ) {
|
531 |
$terms = wp_get_post_terms( $postId, $taxonomy );
|
532 |
foreach ( $terms as $term ) {
|