Changeset 2323502
- Timestamp:
- 06/13/2020 09:05:00 AM (6 years ago)
- Location:
- wp-admin-cache/trunk
- Files:
-
- 3 edited
-
index.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-admin-cache/trunk/index.php
r2184356 r2323502 5 5 Plugin URI: https://www.wpadmincache.com 6 6 Description: The first cache plugin for WordPress admin area 7 Version: 0.2. 57 Version: 0.2.6 8 8 Author: Grf Studio 9 9 Author URI: https://www.grfstudio.com … … 58 58 function init() { 59 59 add_options_page('WP Admin Cache', 'WP Admin Cache', 'manage_options', 'wp-admin-cache', array($this, 'options_page')); 60 wp_enqueue_script('wp-admin-cache-script', plugin_dir_url(__FILE__) . 'index.js', array(), '0.2. 5');61 wp_enqueue_style('wp-admin-cache-style', plugin_dir_url(__FILE__) . 'index.css', array(), '0.2. 5');60 wp_enqueue_script('wp-admin-cache-script', plugin_dir_url(__FILE__) . 'index.js', array(), '0.2.6'); 61 wp_enqueue_style('wp-admin-cache-style', plugin_dir_url(__FILE__) . 'index.css', array(), '0.2.6'); 62 62 $session = wp_get_session_token(); 63 63 if (!isset($_COOKIE['wp-admin-cache-session']) || $_COOKIE['wp-admin-cache-session'] != $session) setcookie('wp-admin-cache-session', $session, 0, admin_url()); … … 173 173 $a = array(); 174 174 foreach ($admin_page_hooks as $key => $value) { 175 if (strpos($key, '.php') !== false && strpos($key, '/') === false ) array_push($a, $key);175 if (strpos($key, '.php') !== false && strpos($key, '/') === false && $key!='link-manager.php') array_push($a, $key); 176 176 } 177 177 $args = array('show_in_menu' => true); -
wp-admin-cache/trunk/readme.txt
r2184356 r2323502 2 2 Contributors: grfstudio 3 3 Tags: admin cache, admin performance, admin speed, slow admin, woocommerce performance, slow woocommerce 4 Stable tag: 0.2. 54 Stable tag: 0.2.6 5 5 Requires PHP: 5.6 6 6 Requires at least: 4.6 7 Tested up to: 5. 27 Tested up to: 5.4 8 8 License: GPLv2 or later 9 9 … … 42 42 43 43 == Changelog == 44 45 = 0.2.6 = 46 47 * Removed: link manager from page hook 44 48 45 49 = 0.2.5 = -
wp-admin-cache/trunk/settings.php
r2058847 r2323502 35 35 $duration = $settings['duration']; 36 36 if ($duration == '') $duration = '5'; 37 global $menu, $ _registered_pages, $admin_page_hooks;37 global $menu, $admin_page_hooks; 38 38 ?> 39 39 <?php echo $status ?>
Note: See TracChangeset
for help on using the changeset viewer.