Skip to content

Commit

Permalink
Hotfix: Enhancement: Added support for flex-direction in CSSTidy.
Browse files Browse the repository at this point in the history
= 2.8 =
* Date: 9.February.2023
* Tested on WordPress 6.1.1
* Enhancement: Added support for `flex-direction` in CSSTidy.
  • Loading branch information
arunbasillal committed Feb 9, 2023
1 parent bfb1e38 commit eaff7b6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
6 changes: 3 additions & 3 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.7
Version: 2.8
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 @@ -84,8 +84,8 @@ function admincssmu_register_settings() {
* @constant ADMINCSSMU_VERSION_NUM the version number of the current version
* @refer https://codex.wordpress.org/Creating_Tables_with_Plugins#Adding_an_Upgrade_Function
*/
if (!defined('ADMINCSSMU_VERSION_NUM'))
define('ADMINCSSMU_VERSION_NUM', '2.7');
if ( !defined( 'ADMINCSSMU_VERSION_NUM' ) )
define( 'ADMINCSSMU_VERSION_NUM', '2.8' );
// 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/data.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@
$data['csstidy']['all_properties']['fit-position'] = 'CSS3.0';
$data['csstidy']['all_properties']['flex-align'] = 'CSS3.0';
$data['csstidy']['all_properties']['flex-flow'] = 'CSS3.0';
$data['csstidy']['all_properties']['flex-direction'] = 'CSS3.0';
$data['csstidy']['all_properties']['flex-line-pack'] = 'CSS3.0';
$data['csstidy']['all_properties']['flex-order'] = 'CSS3.0';
$data['csstidy']['all_properties']['flex-pack'] = 'CSS3.0';
Expand Down
12 changes: 11 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ 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.0.3
Tested up to: 6.1.1
Stable tag: trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -52,6 +52,11 @@ I am glad to hear that! You can either [make a donation](http://millionclues.com

== Changelog ==

= 2.8 =
* Date: 9.February.2023
* Tested on WordPress 6.1.1
* Enhancement: Added support for `flex-direction` in CSSTidy.

= 2.7 =
* Date: 19.October.2022
* Tested on WordPress 6.0.3.
Expand Down Expand Up @@ -111,6 +116,11 @@ I am glad to hear that! You can either [make a donation](http://millionclues.com

== Upgrade Notice ==

= 2.8 =
* Date: 9.February.2023
* Tested on WordPress 6.1.1
* Enhancement: Added support for `flex-direction` in CSSTidy.

= 2.7 =
* Date: 19.October.2022
* Tested on WordPress 6.0.3.
Expand Down

0 comments on commit eaff7b6

Please sign in to comment.