Version Description
- Bugfix to add filter for option_wpscss_options to remove Leafo if stored in DB. Thanks to kinky-org for pointing this out
- Saving plugin settings will update DB with the correct value.
Download this release
Release Info
Developer | Sky Bolt |
Plugin | WP-SCSS |
Version | 2.0.1 |
Comparing to | |
See all releases |
Code changes from version 2.0.0 to 2.0.1
- readme.txt +6 -2
- wp-scss.php +15 -2
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: sass, scss, css
|
|
4 |
Plugin URI: https://github.com/ConnectThink/WP-SCSS
|
5 |
Requires at least: 3.0.1
|
6 |
sested up to: 5.6.1
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/copyleft/gpl.html
|
10 |
|
@@ -33,7 +33,7 @@ Yes, absolutely. Make sure you define your directories relative to your child th
|
|
33 |
|
34 |
= What version of PHP is required? =
|
35 |
|
36 |
-
PHP 5.
|
37 |
|
38 |
|
39 |
= How do I @import subfiles =
|
@@ -68,6 +68,10 @@ Make sure your directories are properly defined in the settings. Paths are defin
|
|
68 |
If you are having issues with the plugin, create an issue on [github](https://github.com/ConnectThink/WP-SCSS), and we'll do our best to help.
|
69 |
|
70 |
== Changelog ==
|
|
|
|
|
|
|
|
|
71 |
= 2.0.0 =
|
72 |
* Requires PHP 5.6
|
73 |
* Update src to use [ScssPHP github repo at 1.0.2](https://github.com/scssphp/scssphp/tree/1.0.2)
|
4 |
Plugin URI: https://github.com/ConnectThink/WP-SCSS
|
5 |
Requires at least: 3.0.1
|
6 |
sested up to: 5.6.1
|
7 |
+
Stable tag: 2.0.1
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/copyleft/gpl.html
|
10 |
|
33 |
|
34 |
= What version of PHP is required? =
|
35 |
|
36 |
+
PHP 5.6 is required to run WP-SCSS
|
37 |
|
38 |
|
39 |
= How do I @import subfiles =
|
68 |
If you are having issues with the plugin, create an issue on [github](https://github.com/ConnectThink/WP-SCSS), and we'll do our best to help.
|
69 |
|
70 |
== Changelog ==
|
71 |
+
= 2.0.1 =
|
72 |
+
* Bugfix to add filter for option_wpscss_options to remove Leafo if stored in DB. Thanks to [kinky-org](https://github.com/ConnectThink/WP-SCSS/issues/157) for pointing this out
|
73 |
+
* Saving plugin settings will update DB with the correct value.
|
74 |
+
|
75 |
= 2.0.0 =
|
76 |
* Requires PHP 5.6
|
77 |
* Update src to use [ScssPHP github repo at 1.0.2](https://github.com/scssphp/scssphp/tree/1.0.2)
|
wp-scss.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WP-SCSS
|
4 |
* Plugin URI: https://github.com/ConnectThink/WP-SCSS
|
5 |
* Description: Compiles scss files live on WordPress.
|
6 |
-
* Version: 2.0.
|
7 |
* Author: Connect Think
|
8 |
* Author URI: http://connectthink.com
|
9 |
* License: GPLv3
|
@@ -46,7 +46,7 @@ if (!defined('WPSCSS_VERSION_KEY'))
|
|
46 |
define('WPSCSS_VERSION_KEY', 'wpscss_version');
|
47 |
|
48 |
if (!defined('WPSCSS_VERSION_NUM'))
|
49 |
-
define('WPSCSS_VERSION_NUM', '2.0.
|
50 |
|
51 |
// Add version to options table
|
52 |
if ( get_option( WPSCSS_VERSION_KEY ) !== false ) {
|
@@ -103,6 +103,19 @@ function wpscss_plugin_action_links($links, $file) {
|
|
103 |
return $links;
|
104 |
}
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
|
107 |
/**
|
108 |
* 4. PLUGIN SETTINGS
|
3 |
* Plugin Name: WP-SCSS
|
4 |
* Plugin URI: https://github.com/ConnectThink/WP-SCSS
|
5 |
* Description: Compiles scss files live on WordPress.
|
6 |
+
* Version: 2.0.1
|
7 |
* Author: Connect Think
|
8 |
* Author URI: http://connectthink.com
|
9 |
* License: GPLv3
|
46 |
define('WPSCSS_VERSION_KEY', 'wpscss_version');
|
47 |
|
48 |
if (!defined('WPSCSS_VERSION_NUM'))
|
49 |
+
define('WPSCSS_VERSION_NUM', '2.0.1');
|
50 |
|
51 |
// Add version to options table
|
52 |
if ( get_option( WPSCSS_VERSION_KEY ) !== false ) {
|
103 |
return $links;
|
104 |
}
|
105 |
|
106 |
+
/**
|
107 |
+
* 3.5 UPDATE DATABASE VALUES
|
108 |
+
*
|
109 |
+
* Correction for when Leafo is stored in DB
|
110 |
+
* as a value in compiling_options
|
111 |
+
*
|
112 |
+
*/
|
113 |
+
|
114 |
+
add_filter('option_wpscss_options', 'wpscss_plugin_db_cleanup');
|
115 |
+
function wpscss_plugin_db_cleanup($option_values){
|
116 |
+
$option_values['compiling_options'] = str_replace("Leafo", "ScssPhp", $option_values['compiling_options']);
|
117 |
+
return $option_values;
|
118 |
+
}
|
119 |
|
120 |
/**
|
121 |
* 4. PLUGIN SETTINGS
|