WP-SCSS - Version 2.1.2

Version Description

  • Correction for enqueueing styles not defaulting to get_stylesheet_directory() Issue
Download this release

Release Info

Developer Sky Bolt
Plugin Icon wp plugin WP-SCSS
Version 2.1.2
Comparing to
See all releases

Code changes from version 2.1.1 to 2.1.2

Files changed (3) hide show
  1. readme.md +2 -0
  2. readme.txt +14 -2
  3. wp-scss.php +3 -3
readme.md CHANGED
@@ -89,6 +89,8 @@ Alternatively, you can include [Bourbon](https://github.com/thoughtbot/bourbon)
89
  This plugin will only work with .scss format.
90
 
91
  ## Changelog
 
 
92
  * 2.1.1
93
  * Bug fixes after merging 2.0.2 and 2.1.0 defaults worked, but new options did not. [Shadoath](https://github.com/ConnectThink/WP-SCSS/issues/165)
94
  * 2.1.0
89
  This plugin will only work with .scss format.
90
 
91
  ## Changelog
92
+ * 2.1.2
93
+ * Correction for enqueueing styles not defaulting to get_stylesheet_directory() [Issue](https://github.com/ConnectThink/WP-SCSS/issues/168)
94
  * 2.1.1
95
  * Bug fixes after merging 2.0.2 and 2.1.0 defaults worked, but new options did not. [Shadoath](https://github.com/ConnectThink/WP-SCSS/issues/165)
96
  * 2.1.0
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
  tested 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
 
@@ -12,7 +12,7 @@ Compiles .scss files to .css and enqueues them.
12
 
13
  == Description ==
14
 
15
- Compiles .scss files on your wordpress install using [lefo's scssphp](https://github.com/leafo/scssphp). Includes settings page for configuring directories, error reporting, compiling options, and auto enqueuing.
16
 
17
  The plugin only compiles when changes have been made to the scss files. Compiles are made to the matching css file, so disabling this plugin will not take down your stylesheets. In the instance where a matching css file does not exist yet, the plugin will create the appropriate css file in the css directory.
18
 
@@ -68,6 +68,18 @@ 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.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.
4
  Plugin URI: https://github.com/ConnectThink/WP-SCSS
5
  Requires at least: 3.0.1
6
  tested up to: 5.6.1
7
+ Stable tag: 2.1.2
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/copyleft/gpl.html
10
 
12
 
13
  == Description ==
14
 
15
+ Compiles .scss files on your wordpress install using [ScssPhp](https://github.com/scssphp/scssphp/). Includes settings page for configuring directories, error reporting, compiling options, and auto enqueuing.
16
 
17
  The plugin only compiles when changes have been made to the scss files. Compiles are made to the matching css file, so disabling this plugin will not take down your stylesheets. In the instance where a matching css file does not exist yet, the plugin will create the appropriate css file in the css directory.
18
 
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.1.2 =
72
+ * Correction for enqueueing styles not defaulting to get_stylesheet_directory() [Issue](https://github.com/ConnectThink/WP-SCSS/issues/168)
73
+
74
+ = 2.1.1 =
75
+ * Bug fixes after merging 2.0.2 and 2.1.0 defaults worked, but new options did not. [Shadoath](https://github.com/ConnectThink/WP-SCSS/issues/165)
76
+
77
+ = 2.1.0 =
78
+ * Settings dropdown added for choosing additional base compile locations outside of current theme. Suggestion by [pixeldesignstudio ](https://github.com/ConnectThink/WP-SCSS/issues/127)
79
+
80
+ = 2.0.2 =
81
+ * Added option in settings to enable an 'always recompile' flag. Suggestion by [bick](https://github.com/ConnectThink/WP-SCSS/issues/151)
82
+
83
  = 2.0.1 =
84
  * 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
85
  * Saving plugin settings will update DB with the correct value.
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.1.1
7
  * Author: Connect Think
8
  * Author URI: http://connectthink.com
9
  * License: GPLv3
@@ -44,7 +44,7 @@ if (!defined('WPSCSS_VERSION_KEY'))
44
  define('WPSCSS_VERSION_KEY', 'wpscss_version');
45
 
46
  if (!defined('WPSCSS_VERSION_NUM'))
47
- define('WPSCSS_VERSION_NUM', '2.1.1');
48
 
49
  // Add version to options table
50
  if ( get_option( WPSCSS_VERSION_KEY ) !== false ) {
@@ -300,7 +300,7 @@ function wpscss_handle_errors() {
300
  if ( $wpscss_settings['enqueue'] == '1' ) {
301
  function wpscss_enqueue_styles() {
302
  global $wpscss_compiler, $wpscss_options;
303
- $wpscss_compiler->enqueue_files($wpscss_options['base_compiling_folder'], $wpscss_options['css_dir']);
304
  }
305
  add_action('wp_enqueue_scripts', 'wpscss_enqueue_styles', 50);
306
  }
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.1.2
7
  * Author: Connect Think
8
  * Author URI: http://connectthink.com
9
  * License: GPLv3
44
  define('WPSCSS_VERSION_KEY', 'wpscss_version');
45
 
46
  if (!defined('WPSCSS_VERSION_NUM'))
47
+ define('WPSCSS_VERSION_NUM', '2.1.2');
48
 
49
  // Add version to options table
50
  if ( get_option( WPSCSS_VERSION_KEY ) !== false ) {
300
  if ( $wpscss_settings['enqueue'] == '1' ) {
301
  function wpscss_enqueue_styles() {
302
  global $wpscss_compiler, $wpscss_options;
303
+ $wpscss_compiler->enqueue_files($base_compiling_folder, $wpscss_options['css_dir']);
304
  }
305
  add_action('wp_enqueue_scripts', 'wpscss_enqueue_styles', 50);
306
  }