Changeset 2289464
- Timestamp:
- 04/22/2020 04:09:43 PM (6 years ago)
- Location:
- optimum-gravatar-cache
- Files:
-
- 8 edited
- 1 copied
-
tags/1.4.6 (copied) (copied from optimum-gravatar-cache/trunk)
-
tags/1.4.6/changelog.txt (modified) (1 diff)
-
tags/1.4.6/optimum-gravatar-cache.php (modified) (5 diffs)
-
tags/1.4.6/readme.txt (modified) (2 diffs)
-
tags/1.4.6/upgradenotice.txt (modified) (1 diff)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/optimum-gravatar-cache.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/upgradenotice.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
optimum-gravatar-cache/tags/1.4.6/changelog.txt
r2098208 r2289464 1 = 1.4.5 = 2 3 * From this version any user who has the capability to 'manage_options' can configure the plugin. Until 1.4.4 only Admin could configure the plugin. 4 1 5 = 1.4.4 = 2 6 -
optimum-gravatar-cache/tags/1.4.6/optimum-gravatar-cache.php
r2098208 r2289464 3 3 Plugin Name: Optimum Gravatar Cache 4 4 Plugin URI: https://www.ncdc.pt/groups/wordpress-optimum-gravatar-cache/ 5 Version: 1.4. 55 Version: 1.4.6 6 6 Author: José Miguel Silva Caldeira 7 7 License: GPL3 … … 26 26 protected $pluginSlug = 'optimum-gravatar-cache'; 27 27 protected $pluginDirectory; 28 protected $pluginVersion = '1.4. 5';28 protected $pluginVersion = '1.4.6'; 29 29 protected $cacheDirectory; 30 30 protected $expireTime; … … 301 301 } 302 302 } 303 public function reSetCronEvent() 304 { 305 if (wp_next_scheduled('OGC_CronEvent')) { 306 wp_clear_scheduled_hook('OGC_CronEvent'); 307 wp_schedule_event(time() + 5, 'OGC_job', 'OGC_CronEvent'); 308 } 309 } 303 310 304 311 protected function getCurrentDefaultAvatar() … … 715 722 "args"=>array() 716 723 ); 724 $this->reSetCronEvent(); 717 725 } 718 726 … … 3088 3096 "args"=>array() 3089 3097 ); 3098 $this->reSetCronEvent(); 3090 3099 } 3091 3100 update_option('OGC_options', $this->options); -
optimum-gravatar-cache/tags/1.4.6/readme.txt
r2098212 r2289464 7 7 Requires MySQL at least: 5.0.95 8 8 Requires at least: 4.7 9 Tested up to: 5. 2.110 Stable tag: 1.4. 59 Tested up to: 5.4 10 Stable tag: 1.4.6 11 11 License: GPLv3 12 12 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 128 128 == Upgrade Notice == 129 129 130 = 1.4. 5=130 = 1.4.6 = 131 131 132 From this version any user who has the capability to 'manage_options' can configure the plugin.132 The plugin did not reset the cron job. This is problematic when clearing the cache and when modifying the "Check for outdated Gravatars every" time in the plugin settings. At this time, whenever the cache is cleared or the cache options are saved, the cron job is reconfigured. 133 133 134 134 == Changelog == 135 135 136 = 1.4. 5=136 = 1.4.6 = 137 137 138 * From this version any user who has the capability to 'manage_options' can configure the plugin. Until 1.4.4 only Admin could configure the plugin.138 * The plugin did not reset the cron job. This is problematic when clearing the cache and when modifying the "Check for outdated Gravatars every" time in the plugin settings. At this time, whenever the cache is cleared or the cache options are saved, the cron job is reconfigured. 139 139 -
optimum-gravatar-cache/tags/1.4.6/upgradenotice.txt
r2098208 r2289464 1 = 1.4.5 = 2 3 From this version any user who has the capability to 'manage_options' can configure the plugin. 4 1 5 = 1.4.4 = 2 6 -
optimum-gravatar-cache/trunk/changelog.txt
r2098208 r2289464 1 = 1.4.5 = 2 3 * From this version any user who has the capability to 'manage_options' can configure the plugin. Until 1.4.4 only Admin could configure the plugin. 4 1 5 = 1.4.4 = 2 6 -
optimum-gravatar-cache/trunk/optimum-gravatar-cache.php
r2098208 r2289464 3 3 Plugin Name: Optimum Gravatar Cache 4 4 Plugin URI: https://www.ncdc.pt/groups/wordpress-optimum-gravatar-cache/ 5 Version: 1.4. 55 Version: 1.4.6 6 6 Author: José Miguel Silva Caldeira 7 7 License: GPL3 … … 26 26 protected $pluginSlug = 'optimum-gravatar-cache'; 27 27 protected $pluginDirectory; 28 protected $pluginVersion = '1.4. 5';28 protected $pluginVersion = '1.4.6'; 29 29 protected $cacheDirectory; 30 30 protected $expireTime; … … 301 301 } 302 302 } 303 public function reSetCronEvent() 304 { 305 if (wp_next_scheduled('OGC_CronEvent')) { 306 wp_clear_scheduled_hook('OGC_CronEvent'); 307 wp_schedule_event(time() + 5, 'OGC_job', 'OGC_CronEvent'); 308 } 309 } 303 310 304 311 protected function getCurrentDefaultAvatar() … … 715 722 "args"=>array() 716 723 ); 724 $this->reSetCronEvent(); 717 725 } 718 726 … … 3088 3096 "args"=>array() 3089 3097 ); 3098 $this->reSetCronEvent(); 3090 3099 } 3091 3100 update_option('OGC_options', $this->options); -
optimum-gravatar-cache/trunk/readme.txt
r2098212 r2289464 7 7 Requires MySQL at least: 5.0.95 8 8 Requires at least: 4.7 9 Tested up to: 5. 2.110 Stable tag: 1.4. 59 Tested up to: 5.4 10 Stable tag: 1.4.6 11 11 License: GPLv3 12 12 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 128 128 == Upgrade Notice == 129 129 130 = 1.4. 5=130 = 1.4.6 = 131 131 132 From this version any user who has the capability to 'manage_options' can configure the plugin.132 The plugin did not reset the cron job. This is problematic when clearing the cache and when modifying the "Check for outdated Gravatars every" time in the plugin settings. At this time, whenever the cache is cleared or the cache options are saved, the cron job is reconfigured. 133 133 134 134 == Changelog == 135 135 136 = 1.4. 5=136 = 1.4.6 = 137 137 138 * From this version any user who has the capability to 'manage_options' can configure the plugin. Until 1.4.4 only Admin could configure the plugin.138 * The plugin did not reset the cron job. This is problematic when clearing the cache and when modifying the "Check for outdated Gravatars every" time in the plugin settings. At this time, whenever the cache is cleared or the cache options are saved, the cron job is reconfigured. 139 139 -
optimum-gravatar-cache/trunk/upgradenotice.txt
r2098208 r2289464 1 = 1.4.5 = 2 3 From this version any user who has the capability to 'manage_options' can configure the plugin. 4 1 5 = 1.4.4 = 2 6
Note: See TracChangeset
for help on using the changeset viewer.