Version Description
- Must declare global to use it for $base_compiling_folder.
Download this release
Release Info
Developer | Sky Bolt |
Plugin | WP-SCSS |
Version | 2.1.3 |
Comparing to | |
See all releases |
Code changes from version 2.1.2 to 2.1.3
- readme.md +2 -0
- readme.txt +4 -1
- 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.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
|
89 |
This plugin will only work with .scss format.
|
90 |
|
91 |
## Changelog
|
92 |
+
* 2.1.3
|
93 |
+
* Must declare global to use it for $base_compiling_folder.
|
94 |
* 2.1.2
|
95 |
* Correction for enqueueing styles not defaulting to get_stylesheet_directory() [Issue](https://github.com/ConnectThink/WP-SCSS/issues/168)
|
96 |
* 2.1.1
|
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.1.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/copyleft/gpl.html
|
10 |
|
@@ -68,6 +68,9 @@ 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.1.2 =
|
72 |
* Correction for enqueueing styles not defaulting to get_stylesheet_directory() [Issue](https://github.com/ConnectThink/WP-SCSS/issues/168)
|
73 |
|
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.3
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/copyleft/gpl.html
|
10 |
|
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.3 =
|
72 |
+
* Must declare global to use it for $base_compiling_folder.
|
73 |
+
|
74 |
= 2.1.2 =
|
75 |
* Correction for enqueueing styles not defaulting to get_stylesheet_directory() [Issue](https://github.com/ConnectThink/WP-SCSS/issues/168)
|
76 |
|
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.
|
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.
|
48 |
|
49 |
// Add version to options table
|
50 |
if ( get_option( WPSCSS_VERSION_KEY ) !== false ) {
|
@@ -299,7 +299,7 @@ function wpscss_handle_errors() {
|
|
299 |
|
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);
|
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.3
|
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.3');
|
48 |
|
49 |
// Add version to options table
|
50 |
if ( get_option( WPSCSS_VERSION_KEY ) !== false ) {
|
299 |
|
300 |
if ( $wpscss_settings['enqueue'] == '1' ) {
|
301 |
function wpscss_enqueue_styles() {
|
302 |
+
global $wpscss_compiler, $wpscss_options, $base_compiling_folder;
|
303 |
$wpscss_compiler->enqueue_files($base_compiling_folder, $wpscss_options['css_dir']);
|
304 |
}
|
305 |
add_action('wp_enqueue_scripts', 'wpscss_enqueue_styles', 50);
|