@@ -71,7 +71,9 @@ |
||
| 71 | 71 | $styles = array_filter($this->stylesheets, array( $this, 'filter_print' ) ); |
| 72 | 72 | |
| 73 | 73 | // Bail if there are no styles to be printed |
| 74 | - if( count( $styles ) === 0 ) return; |
|
| 74 | + if( count( $styles ) === 0 ) { |
|
| 75 | + return; |
|
| 76 | + } |
|
| 75 | 77 | |
| 76 | 78 | foreach( $styles as $style ) |
| 77 | 79 | { |
@@ -1,24 +1,24 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * WordPress Dynamic CSS |
|
| 4 | - * |
|
| 5 | - * Dynamic CSS compiler for WordPress |
|
| 6 | - * |
|
| 7 | - * @package wp-dynamic-css |
|
| 8 | - * @author Askupa Software <[email protected]> |
|
| 9 | - * @link https://github.com/askupasoftware/wp-dynamic-css |
|
| 10 | - * @copyright 2016 Askupa Software |
|
| 11 | - * |
|
| 12 | - * @wordpress-plugin |
|
| 13 | - * Plugin Name: WordPress Dynamic CSS |
|
| 14 | - * Plugin URI: https://github.com/askupasoftware/wp-dynamic-css |
|
| 15 | - * Description: Dynamic CSS compiler for WordPress |
|
| 16 | - * Version: 1.0.1 |
|
| 17 | - * Author: Askupa Software |
|
| 18 | - * Author URI: http://www.askupasoftware.com |
|
| 19 | - * Text Domain: wp-dynamic-css |
|
| 20 | - * Domain Path: /languages |
|
| 21 | - */ |
|
| 3 | + * WordPress Dynamic CSS |
|
| 4 | + * |
|
| 5 | + * Dynamic CSS compiler for WordPress |
|
| 6 | + * |
|
| 7 | + * @package wp-dynamic-css |
|
| 8 | + * @author Askupa Software <[email protected]> |
|
| 9 | + * @link https://github.com/askupasoftware/wp-dynamic-css |
|
| 10 | + * @copyright 2016 Askupa Software |
|
| 11 | + * |
|
| 12 | + * @wordpress-plugin |
|
| 13 | + * Plugin Name: WordPress Dynamic CSS |
|
| 14 | + * Plugin URI: https://github.com/askupasoftware/wp-dynamic-css |
|
| 15 | + * Description: Dynamic CSS compiler for WordPress |
|
| 16 | + * Version: 1.0.1 |
|
| 17 | + * Author: Askupa Software |
|
| 18 | + * Author URI: http://www.askupasoftware.com |
|
| 19 | + * Text Domain: wp-dynamic-css |
|
| 20 | + * Domain Path: /languages |
|
| 21 | + */ |
|
| 22 | 22 | |
| 23 | 23 | require_once 'compiler.php'; |
| 24 | 24 | require_once 'functions.php'; |