Asset CleanUp: Page Speed Booster - Version 1.2.6.1

Version Description

  • Bug Fix for PHP versions lower than 5.6 - Menu.php triggered a PHP warning as PHP constants were not allowed in class constants
Download this release

Release Info

Developer gabelivan
Plugin Icon 128x128 Asset CleanUp: Page Speed Booster
Version 1.2.6.1
Comparing to
See all releases

Code changes from version 1.2.6 to 1.2.6.1

Files changed (3) hide show
  1. classes/Menu.php +3 -1
  2. readme.txt +4 -1
  3. wpacu.php +1 -1
classes/Menu.php CHANGED
@@ -15,13 +15,15 @@ class Menu
15
  /**
16
  * @var string
17
  */
18
- static $slug = WPACU_PLUGIN_NAME . '_settings';
19
 
20
  /**
21
  * Menu constructor.
22
  */
23
  public function __construct()
24
  {
 
 
25
  add_action('admin_menu', array($this, 'activeMenu'));
26
  }
27
 
15
  /**
16
  * @var string
17
  */
18
+ static $slug;
19
 
20
  /**
21
  * Menu constructor.
22
  */
23
  public function __construct()
24
  {
25
+ self::$slug = WPACU_PLUGIN_NAME . '_settings';
26
+
27
  add_action('admin_menu', array($this, 'activeMenu'));
28
  }
29
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: speed, pagespeed, dequeue style, dequeue script, unload style, unload scri
4
  Donate link: https://www.gabelivan.com/donate/
5
  Requires at least: 4.0
6
  Tested up to: 4.9.6
7
- Stable tag: 1.2.5.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl.html
10
 
@@ -102,6 +102,9 @@ If that's the case, then it's advisable to consult with a developer (ideally the
102
  4. Scripts (.JS) are selected for site-wide unload
103
 
104
  == Changelog ==
 
 
 
105
  = 1.2.6 =
106
  * New Feature: Disable Emojis Site-Wide
107
  * Hide "WP Asset Clean Up" menu if the logged in user doesn't have 'manage_options' capabilities (technically, it's just for administrators)
4
  Donate link: https://www.gabelivan.com/donate/
5
  Requires at least: 4.0
6
  Tested up to: 4.9.6
7
+ Stable tag: 1.2.6.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl.html
10
 
102
  4. Scripts (.JS) are selected for site-wide unload
103
 
104
  == Changelog ==
105
+ = 1.2.6.1 =
106
+ * Bug Fix for PHP versions lower than 5.6 - Menu.php triggered a PHP warning as PHP constants were not allowed in class constants
107
+
108
  = 1.2.6 =
109
  * New Feature: Disable Emojis Site-Wide
110
  * Hide "WP Asset Clean Up" menu if the logged in user doesn't have 'manage_options' capabilities (technically, it's just for administrators)
wpacu.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Plugin Name: WP Asset CleanUp (Page Speed Optimizer)
4
  * Plugin URI: https://wordpress.org/plugins/wp-asset-clean-up/
5
- * Version: 1.2.6
6
  * Description: Prevent Chosen Scripts & Styles from loading in Posts/Pages that you don't need
7
  * Author: Gabriel Livan
8
  * Author URI: http://www.gabelivan.com/
2
  /*
3
  * Plugin Name: WP Asset CleanUp (Page Speed Optimizer)
4
  * Plugin URI: https://wordpress.org/plugins/wp-asset-clean-up/
5
+ * Version: 1.2.6.1
6
  * Description: Prevent Chosen Scripts & Styles from loading in Posts/Pages that you don't need
7
  * Author: Gabriel Livan
8
  * Author URI: http://www.gabelivan.com/