WP Super Cache – Clear all cache - Version 1.0

Version Description

  • First stable release.
Download this release

Release Info

Developer apasionados
Plugin Icon 128x128 WP Super Cache – Clear all cache
Version 1.0
Comparing to
See all releases

Version 1.0

languages/wp-super-cache-clear-cache-menu-es_ES.mo ADDED
Binary file
languages/wp-super-cache-clear-cache-menu-es_ES.po ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WPSuperCache Clear all cached files from menu\n"
4
+ "POT-Creation-Date: 2014-03-19 11:44+0100\n"
5
+ "PO-Revision-Date: 2014-03-19 11:45+0100\n"
6
+ "Last-Translator: Ramon <marketing@apasionados.es>\n"
7
+ "Language-Team: Apasionados.es <info@apasionados.es>\n"
8
+ "Language: es_ES\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.4\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: _e;__\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../wp-super-cache-clear-cache-menu.php:13
19
+ msgid "WP Super Cache - Clear all cache"
20
+ msgstr "WP Super Cache - Vaciar caché"
21
+
22
+ #: ../wp-super-cache-clear-cache-menu.php:13
23
+ msgid ""
24
+ "Clear all cached files of the WP Super Cache plugin directly from the admin "
25
+ "menu (option only available to super admins)."
26
+ msgstr ""
27
+ "Vaciar todos los archivos en la caché de WP Super Cache plugin directamente "
28
+ "desde el menú de administración (opción solamente disponible para super "
29
+ "admins)."
30
+
31
+ #: ../wp-super-cache-clear-cache-menu.php:34
32
+ msgid "Clear all cached files"
33
+ msgstr "Vaciar caché (todo)"
34
+
35
+ #: ../wp-super-cache-clear-cache-menu.php:35
36
+ msgid "Clear all cached files of WP Super Cache"
37
+ msgstr "Vaciar todos los archivos de la caché de WP Super Cache"
38
+
39
+ #~ msgid "Delete completly Cache"
40
+ #~ msgstr "Borrar caché (todo)"
readme.txt ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === WP Super Cache - Clear all cache ===
2
+ 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.8.1
7
+ Stable tag: 1.0
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
+
11
+ Clear all cache for WP Super Cache clears completly the cache directly from the admin menu.
12
+
13
+ == Description ==
14
+
15
+ The plugin clears completly the cache from WP Super Cache, directly from the admin menu.
16
+
17
+ We created this plugin, in order to be able to clear the cache completly from the admin menu and not having to navigate to CONTENTS tab in WP Super Cache Settings.
18
+
19
+ In some configuration WP Super Cache shows a menu entry to empty the cache in the menu, but it only empties the cache from the current page. See: [The "Delete Cache" button on the admin menu only deletes the cache for the current page.](http://wordpress.org/support/topic/plugin-wp-super-cache-menu-delete-cache-doesnt-work-but-on-contents-page-it-does)
20
+ Nevertheless in the mayority of the sites that have WP Super Cache installed it doesn't display this menu entry.
21
+
22
+ Please note that this menu option is only visible for SUPER ADMINS.
23
+
24
+ = What can I do with this plugin? =
25
+ The plugin clears completly the cache from WP Super Cache, directly from the admin menu.
26
+
27
+ = WP Super Cache - Clear all cache Plugin in your Language! =
28
+ This first release is avaliable in English and Spanish. In the languages folder we have included the necessarry files to translate this plugin.
29
+
30
+ If you would like the plugin in your language and you're good at translating, please drop us a line at [Contact us](http://apasionados.es/contacto/index.php?desde=wordpress-org-wp-super-cache-clear-cache-menu-home).
31
+
32
+ = Further Reading =
33
+ You can access the description of the plugin in Spanish at: [WP Super Cache - Clear all cache Plugin en castellano](http://apasionados.es/blog/).
34
+
35
+
36
+ == Installation ==
37
+
38
+ 1. Upload the `wp-super-cache-clear-cache-menu` folder to the `/wp-content/plugins/` directory (or to the directory where your WordPress plugins are located)
39
+ 1. Activate the WP Super Cache - Clear all cache Plugin through the 'Plugins' menu in WordPress.
40
+ 1. Puling doesn't need any configuration.
41
+
42
+ Please don't use it with WordPress MultiSite, as it has not been tested.
43
+
44
+ == Frequently Asked Questions ==
45
+
46
+ = What is WP Super Cache - Clear all cache Plugin good for? =
47
+ It empties completly the WP SUPER CACHE cache without having to navigate to the CONTENTS tab in WP Super Cache Settings, this plugin is for you.
48
+
49
+ = Why should I make use of the WP Super Cache - Clear all cache Plugin? =
50
+ If you use WP Super Cache and want to be able to empty completly the cache without having to navigate to the CONTENTS tab in WP Super Cache Settings, this plugin is for you.
51
+
52
+ = Does WP Super Cache - Clear all cache make changes to the database? =
53
+ No.
54
+
55
+ = How can I check out if the plugin works for me? =
56
+ Install and activate. You will see a new menu entry in the administration area to empty the cache. Access this menu entry and your cache will be emptied and you are taken to the CONTENTS tab in WP Super Cache Settings.
57
+
58
+ = Can every registered user use this plugin? =
59
+ No. This menu option is only available for SUPER ADMINS.
60
+
61
+ = How can I remove WP Super Cache - Clear all cache? =
62
+ You can simply activate, deactivate or delete it in your plugin management section.
63
+
64
+ = What happens if I activate the plugin without using WP SUPER CACHE? =
65
+ Nothing. The plugin checks that WP SUPER CACHE is activated.
66
+
67
+ = Are there any known incompatibilities? =
68
+ Please don't use it with WordPress MultiSite, as it has not been tested.
69
+
70
+ = Do you make use of WP Super Cache - Clear all cache yourself? =
71
+ Of course we do. ;-)
72
+
73
+ == Screenshots ==
74
+
75
+ 1. There is no configuration screen for "WP Super Cache - Clear all cache". This is a ScreenShot of the menu entry that it adds (in Spanish).
76
+ 2. This second example shows the menu entry from WP Super Cache we see on some installations to empty the cache of the current page. See: [The "Delete Cache" button on the admin menu only deletes the cache for the current page.](http://wordpress.org/support/topic/plugin-wp-super-cache-menu-delete-cache-doesnt-work-but-on-contents-page-it-does)
77
+
78
+ == Changelog ==
79
+
80
+ = 1.0 =
81
+ * First stable release.
82
+
83
+ = 0.5 =
84
+ * Beta release.
85
+
86
+ == Upgrade Notice ==
87
+
88
+ = 1.0 =
89
+ First stable release.
90
+
91
+ == Contact ==
92
+
93
+ For further information please send us an [email](http://apasionados.es/contacto/index.php?desde=wordpress-org-wp-super-cache-clear-cache-menu-contact).
wp-super-cache-clear-cache-menu.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
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.0
7
+ Author: Apasionados.es
8
+ Author URI: http://apasionados.es/
9
+ Text Domain: wp-super-cache-clear-cache-menu
10
+ */
11
+
12
+ $plugin_header_translate = array( __('WP Super Cache - Clear all cache', 'wp-super-cache-clear-cache-menu'), __('Clear all cached files of the WP Super Cache plugin directly from the admin menu (option only available to super admins).', 'wp-super-cache-clear-cache-menu') );
13
+
14
+ if ( ! function_exists('is_plugin_active')) {
15
+ require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
16
+ }
17
+
18
+ if ( is_plugin_active( 'wp-super-cache/wp-cache.php' ) ) {
19
+
20
+ function wpsupercache_clear_cache_text_domain() {
21
+ load_plugin_textdomain( 'wp-super-cache-clear-cache-menu', WPCACHEHOME . 'languages', basename( dirname( __FILE__ ) ) . '/languages' );
22
+ }
23
+ add_action( 'init', 'wpsupercache_clear_cache_text_domain' );
24
+
25
+ function clear_all_cached_files_wpsupercache() {
26
+ global $wp_admin_bar;
27
+ if ( !is_super_admin() || !is_admin_bar_showing() )
28
+ return;
29
+ $wp_admin_bar->add_menu( array(
30
+ 'parent' => '',
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 );
38
+
39
+ }
40
+
41
+ ?>