Skip to content

Commit

Permalink
Added compatibility with PHP 8.x
Browse files Browse the repository at this point in the history
= 2.10 =
* Date: 04.October.2023
* Tested with WordPress 6.3.1
* Enhancement: Added compatibility with PHP 8.x
  • Loading branch information
arunbasillal committed Oct 4, 2023
1 parent 6287efd commit e81370f
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 3 deletions.
4 changes: 2 additions & 2 deletions admincssmu.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: A plugin to load a CSS file to style the admin side. Works with Multisite.
Author: Arun Basil Lal
Author URI: http://millionclues.com
Version: 2.9
Version: 2.10
Text Domain: admin-css-mu
Domain Path: /languages
License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Expand Down Expand Up @@ -85,7 +85,7 @@ function admincssmu_register_settings() {
* @refer https://codex.wordpress.org/Creating_Tables_with_Plugins#Adding_an_Upgrade_Function
*/
if ( !defined( 'ADMINCSSMU_VERSION_NUM' ) ) {
define( 'ADMINCSSMU_VERSION_NUM', '2.9' );
define( 'ADMINCSSMU_VERSION_NUM', '2.10' );
// update_option('abl_admincssmu_version', ADMINCSSMU_VERSION_NUM); // Disabled to set default values for Load Admin CSS checkbox
}

Expand Down
1 change: 1 addition & 0 deletions csstidy/class.csstidy.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ class csstidy {
* @var array
*/
public $data = array();
public $template;

/**
* Loads standard template and sets default settings
Expand Down
6 changes: 6 additions & 0 deletions csstidy/class.csstidy_optimise.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ class csstidy_optimise {
* @var object
*/
public $parser;
public $css;
public $sub_value;
public $at;
public $selector;
public $property;
public $value;

/**
* Constructor
Expand Down
7 changes: 7 additions & 0 deletions csstidy/class.csstidy_print.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ class csstidy_print {
*/
public $output_css_plain = '';

public $css;
public $template;
public $tokens;
public $charset;
public $import;
public $namespace;

/**
* Constructor
* @param array $css contains the class csstidy
Expand Down
13 changes: 12 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ Contributors: arunbasillal
Donate link: http://millionclues.com/donate/
Tags: admin css, mu plugin, custom admin css, admin, admin interface, multisite, must use
Requires at least: 3.0
Tested up to: 6.2
Tested up to: 6.3.1
Requires PHP: 7.0
Stable tag: trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -52,6 +53,11 @@ I am glad to hear that! You can either [make a donation](http://millionclues.com

== Changelog ==

= 2.10 =
* Date: 04.October.2023
* Tested with WordPress 6.3.1
* Enhancement: Added compatibility with PHP 8.x

= 2.9 =
* Date: 16.May.2023
* Tested on WordPress 6.2
Expand Down Expand Up @@ -121,6 +127,11 @@ I am glad to hear that! You can either [make a donation](http://millionclues.com

== Upgrade Notice ==

= 2.10 =
* Date: 04.October.2023
* Tested with WordPress 6.3.1
* Enhancement: Added compatibility with PHP 8.x

= 2.9 =
* Date: 16.May.2023
* Tested on WordPress 6.2
Expand Down

0 comments on commit e81370f

Please sign in to comment.