Changeset 592530
- Timestamp:
- 08/30/2012 05:16:56 PM (13 years ago)
- Location:
- css-crush-for-wordpress
- Files:
-
- 53 added
- 2 deleted
- 2 edited
-
tags/0.3 (added)
-
tags/0.3/assets (added)
-
tags/0.3/assets/css (added)
-
tags/0.3/assets/css/admin.css (added)
-
tags/0.3/assets/images (added)
-
tags/0.3/assets/images/icon.png (added)
-
tags/0.3/banner-772x250.png (added)
-
tags/0.3/crush (added)
-
tags/0.3/crush/Aliases.ini (added)
-
tags/0.3/crush/CHANGELOG.txt (added)
-
tags/0.3/crush/CssCrush.boilerplate (added)
-
tags/0.3/crush/CssCrush.php (added)
-
tags/0.3/crush/LICENSE.txt (added)
-
tags/0.3/crush/Plugins.ini (added)
-
tags/0.3/crush/Prepend.css (added)
-
tags/0.3/crush/README.md (added)
-
tags/0.3/crush/cli.php (added)
-
tags/0.3/crush/composer.json (added)
-
tags/0.3/crush/lib (added)
-
tags/0.3/crush/lib/Color.php (added)
-
tags/0.3/crush/lib/Core.php (added)
-
tags/0.3/crush/lib/Function.php (added)
-
tags/0.3/crush/lib/Hook.php (added)
-
tags/0.3/crush/lib/IO.php (added)
-
tags/0.3/crush/lib/Importer.php (added)
-
tags/0.3/crush/lib/Mixin.php (added)
-
tags/0.3/crush/lib/Regex.php (added)
-
tags/0.3/crush/lib/Rule.php (added)
-
tags/0.3/crush/lib/Util.php (added)
-
tags/0.3/crush/misc (added)
-
tags/0.3/crush/misc/color-keywords.ini (added)
-
tags/0.3/crush/misc/initial-values.ini (added)
-
tags/0.3/crush/plugins (added)
-
tags/0.3/crush/plugins/hocus-pocus.php (added)
-
tags/0.3/crush/plugins/hsl-to-hex.php (added)
-
tags/0.3/crush/plugins/ie-clip.php (added)
-
tags/0.3/crush/plugins/ie-filter.php (added)
-
tags/0.3/crush/plugins/ie-inline-block.php (added)
-
tags/0.3/crush/plugins/ie-min-height.php (added)
-
tags/0.3/crush/plugins/ie-opacity.php (added)
-
tags/0.3/crush/plugins/initial.php (added)
-
tags/0.3/crush/plugins/rgba-fallback.php (added)
-
tags/0.3/crush/plugins/spiffing.php (added)
-
tags/0.3/css-crush-for-wordpress.php (added)
-
tags/0.3/languages (added)
-
tags/0.3/languages/css-crush-for-wordpress-nl_NL.mo (added)
-
tags/0.3/languages/css-crush-for-wordpress-nl_NL.po (added)
-
tags/0.3/languages/css-crush-for-wordpress.po (added)
-
tags/0.3/readme.txt (added)
-
tags/0.3/screenshot-1.png (added)
-
trunk/css-crush-for-wordpress.php (modified) (4 diffs)
-
trunk/languages/css-crush-for-wordpress-nl_NL.mo (added)
-
trunk/languages/css-crush-for-wordpress-nl_NL.po (added)
-
trunk/languages/css-crush-for-wordpress.po (added)
-
trunk/languages/mediapicker-more-rows-nl_NL.mo (deleted)
-
trunk/languages/mediapicker-more-rows-nl_NL.po (deleted)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
css-crush-for-wordpress/trunk/css-crush-for-wordpress.php
r589673 r592530 2 2 /* 3 3 Plugin Name: CSS Crush for WordPress 4 Version: 0. 24 Version: 0.3 5 5 Description: Integrates an extensible CSS preprocessor for WordPress: upload, activate, and you're done. No further configuration needed. 6 6 Author: Codepress … … 27 27 */ 28 28 29 define( 'CPCC_VERSION', '0. 2' );29 define( 'CPCC_VERSION', '0.3' ); 30 30 define( 'CPCC_TEXTDOMAIN', 'css-crush-for-wordpress' ); 31 31 define( 'CPCC_SLUG', 'css-crush' ); … … 91 91 $src_local = str_replace(WP_CONTENT_URL, WP_CONTENT_DIR, $src_no_ver); 92 92 93 $src = csscrush::file( $src_local, array( 93 // remove possible crushed stylesheets 94 if ( strstr($src, '.crush.css') ) 95 return $src; 96 97 $src = csscrush::file( $src_local, array( 94 98 'cache' => $cache, 95 99 'debug' => $debug, 96 )); 97 98 return $src; 99 } 100 100 )); 101 102 // get root url 103 $parse = parse_url(get_bloginfo('url')); 104 $port = !empty($parse['port']) ? ":{$parse['port']}" : ''; 105 $root_url = "{$parse['scheme']}://{$parse['host']}{$port}"; 106 107 return $root_url.$src; 108 } 109 110 111 112 101 113 /** 102 114 * Enabled? … … 214 226 'label' => __('Caching', CPCC_TEXTDOMAIN), 215 227 'descr' => __('Turn caching on or off', CPCC_TEXTDOMAIN), 216 'note' => __('When turned on a cached file is returned when a file has not been mo nified. This increases performance. Default is <code>on</code>.', CPCC_TEXTDOMAIN),228 'note' => __('When turned on a cached file is returned when a file has not been modified. This increases performance. Default is <code>on</code>.', CPCC_TEXTDOMAIN), 217 229 'default' => true 218 230 ), -
css-crush-for-wordpress/trunk/readme.txt
r589673 r592530 5 5 Requires at least: 3.1 6 6 Tested up to: 3.4 7 Stable tag: 0. 27 Stable tag: 0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 101 101 == Changelog == 102 102 103 = 0.3 = 104 105 * added bug fix for incorrect stylesheet url 106 103 107 = 0.2 = 104 108
Note: See TracChangeset
for help on using the changeset viewer.