Version Description
- Updated the code to fix the bug inspirationdate found: "The link added is relative so it doesn't work when the toolbar is displayed on the frontend".
Download this release
Release Info
Developer | apasionados |
Plugin | WP Super Cache – Clear all cache |
Version | 1.3 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.3
- readme.txt +7 -4
- wp-super-cache-clear-cache-menu.php +2 -2
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: apasionados, netconsulting
|
|
3 |
Donate link: http://apasionados.es/
|
4 |
Tags: empty cache, emtpy wp super cache, cache, caching, performance, wp-cache, wp-super-cache, web performance optimization, WPO, YUI, yslow, google speed
|
5 |
Requires at least: 3.0.1
|
6 |
-
Tested up to: 3.9.
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -77,6 +77,9 @@ Of course we do. ;-)
|
|
77 |
|
78 |
== Changelog ==
|
79 |
|
|
|
|
|
|
|
80 |
= 1.2 =
|
81 |
* Updated and corrected readme.txt.
|
82 |
|
@@ -91,8 +94,8 @@ Of course we do. ;-)
|
|
91 |
|
92 |
== Upgrade Notice ==
|
93 |
|
94 |
-
= 1.
|
95 |
-
Updated
|
96 |
|
97 |
== Contact ==
|
98 |
|
3 |
Donate link: http://apasionados.es/
|
4 |
Tags: empty cache, emtpy wp super cache, cache, caching, performance, wp-cache, wp-super-cache, web performance optimization, WPO, YUI, yslow, google speed
|
5 |
Requires at least: 3.0.1
|
6 |
+
Tested up to: 3.9.1
|
7 |
+
Stable tag: 1.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
+
= 1.3 =
|
81 |
+
* Updated the code to fix the bug inspirationdate found: "The link added is relative so it doesn't work when the toolbar is displayed on the frontend".
|
82 |
+
|
83 |
= 1.2 =
|
84 |
* Updated and corrected readme.txt.
|
85 |
|
94 |
|
95 |
== Upgrade Notice ==
|
96 |
|
97 |
+
= 1.3 =
|
98 |
+
Updated the code to fix the bug inspirationdate found: "The link added is relative so it doesn't work when the toolbar is displayed on the frontend". Thanks.
|
99 |
|
100 |
== Contact ==
|
101 |
|
wp-super-cache-clear-cache-menu.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Super Cache - Clear all cache
|
4 |
Plugin URI: http://ocaoimh.ie/wp-super-cache/
|
5 |
Description: Clear all cached files of the WP Super Cache plugin directly from the admin menu (option only available to super admins).
|
6 |
-
Version: 1.
|
7 |
Author: Apasionados.es
|
8 |
Author URI: http://apasionados.es/
|
9 |
Text Domain: wp-super-cache-clear-cache-menu
|
@@ -31,7 +31,7 @@ if ( is_plugin_active( 'wp-super-cache/wp-cache.php' ) ) {
|
|
31 |
'id' => 'delete-cache-completly',
|
32 |
'title' => __( 'Clear all cached files', 'wp-super-cache-clear-cache-menu' ),
|
33 |
'meta' => array( 'title' => __( 'Clear all cached files of WP Super Cache', 'wp-super-cache-clear-cache-menu' ) ),
|
34 |
-
'href' => wp_nonce_url( 'options-general.php?page=wpsupercache&wp_delete_cache=1&tab=contents', 'wp-cache' )
|
35 |
) );
|
36 |
}
|
37 |
add_action( 'wp_before_admin_bar_render', 'clear_all_cached_files_wpsupercache', 999 );
|
3 |
Plugin Name: WP Super Cache - Clear all cache
|
4 |
Plugin URI: http://ocaoimh.ie/wp-super-cache/
|
5 |
Description: Clear all cached files of the WP Super Cache plugin directly from the admin menu (option only available to super admins).
|
6 |
+
Version: 1.3
|
7 |
Author: Apasionados.es
|
8 |
Author URI: http://apasionados.es/
|
9 |
Text Domain: wp-super-cache-clear-cache-menu
|
31 |
'id' => 'delete-cache-completly',
|
32 |
'title' => __( 'Clear all cached files', 'wp-super-cache-clear-cache-menu' ),
|
33 |
'meta' => array( 'title' => __( 'Clear all cached files of WP Super Cache', 'wp-super-cache-clear-cache-menu' ) ),
|
34 |
+
'href' => wp_nonce_url( admin_url('options-general.php?page=wpsupercache&wp_delete_cache=1&tab=contents'), 'wp-cache' )
|
35 |
) );
|
36 |
}
|
37 |
add_action( 'wp_before_admin_bar_render', 'clear_all_cached_files_wpsupercache', 999 );
|