Changeset 2395169
- Timestamp:
- 10/07/2020 10:56:24 AM (5 years ago)
- Location:
- wp-pleasewait/tags/2.2.1
- Files:
-
- 9 copied
-
. (copied) (copied from wp-pleasewait/trunk)
-
README.md (copied) (copied from wp-pleasewait/trunk/README.md)
-
assets/spinkit.min.css (copied) (copied from wp-pleasewait/trunk/assets/spinkit.min.css)
-
pleasewait-settings.php (copied) (copied from wp-pleasewait/trunk/pleasewait-settings.php) (3 diffs)
-
pleasewait.php (copied) (copied from wp-pleasewait/trunk/pleasewait.php) (1 diff)
-
readme.txt (copied) (copied from wp-pleasewait/trunk/readme.txt) (3 diffs)
-
screenshot-1.png (copied) (copied from wp-pleasewait/trunk/screenshot-1.png)
-
screenshot-2.png (copied) (copied from wp-pleasewait/trunk/screenshot-2.png)
-
screenshot-3.png (copied) (copied from wp-pleasewait/trunk/screenshot-3.png)
Legend:
- Unmodified
- Added
- Removed
-
wp-pleasewait/tags/2.2.1/pleasewait-settings.php
r2395118 r2395169 2 2 class WpPleaseWait_SettingsPage 3 3 { 4 const CURRENT_VERSION = '2.2. 0';4 const CURRENT_VERSION = '2.2.1'; 5 5 const SPINKIT_VERSION = '2.0.1'; // https: //github.com/tobiasahlin/SpinKit 6 6 const PLEASEWAIT_VERSION = '0.0.5'; // https: //github.com/Pathgather/please-wait … … 156 156 public function __construct() 157 157 { 158 $this->options = get_option('wppleasewait_settings');159 // print_r($this->options); die;160 158 $this->default_options['hook_name'] = $this->get_hook_name(); 159 $this->get_options(); 161 160 if (is_admin()) { 162 161 add_action('admin_enqueue_scripts', array($this, 'load_admin_assets'), 9); … … 857 856 public function get_options() 858 857 { 859 $options = $this->options ? $this->options : array(); 860 if (isset($options['spinner_scale'])) { // Migrate with older version 861 $options['sk_size'] = floatval($options['spinner_scale']) * $this->default_options['sk_size']; 862 unset($options['spinner_scale']); 863 } 864 return array_merge($this->default_options, $options); 858 if (!$this->options) { 859 $options = get_option('wppleasewait_settings', array()); 860 if (isset($options['spinner_scale'])) { // Migrate with older version 861 $options['sk_size'] = floatval($options['spinner_scale']) * $this->default_options['sk_size']; 862 unset($options['spinner_scale']); 863 } 864 $this->options = array_merge($this->default_options, $options); 865 } 866 return $this->options; 865 867 } 866 868 -
wp-pleasewait/tags/2.2.1/pleasewait.php
r2395118 r2395169 5 5 Plugin URI: https://ngoclb.com/project/wp-please-wait 6 6 Description: Add PleaseWait loading screen to currrent theme 7 Version: 2.2. 07 Version: 2.2.1 8 8 Author: Ngoc LB 9 9 Author URI: https://ngoclb.com/ -
wp-pleasewait/tags/2.2.1/readme.txt
r2395118 r2395169 3 3 Donate link: https://ko-fi.com/ngoclb 4 4 Tags: pleasewait, loading, loader, spa, animation, loading screen, loading page, page effects, page loader, spash, splash screen 5 Stable tag: 2.2. 05 Stable tag: 2.2.1 6 6 Requires PHP: 5.4.33 7 7 Requires at least: 3.3 … … 23 23 * Custom loading message by filter or randomize 24 24 * Custom appearance styles from WP Admin 25 * Support [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/) (Turn off "CSS Combine" and "JS Combine" to make sure the plugin working perfectly)26 25 * Support [Genesis framework](https://my.studiopress.com/themes/genesis/) 27 26 * Support [Roots Sage Starter Theme](https://roots.io/sage/) … … 57 56 == Changelog == 58 57 59 **2.2. 0**58 **2.2.1** 60 59 - Enable/Disable loading screen by add "Display Scopes" option 61 60 - Add new filter name "wp_pleasewait_enable" for customize where to show loading screen
Note: See TracChangeset
for help on using the changeset viewer.