Changeset 684886
- Timestamp:
- 03/20/2013 07:00:40 PM (13 years ago)
- Location:
- wp-html-compression
- Files:
-
- 9 added
- 4 edited
-
tags/0.5.6 (added)
-
tags/0.5.6/libs (added)
-
tags/0.5.6/libs/absolute-to-relative-urls.php (added)
-
tags/0.5.6/libs/html-minify.php (added)
-
tags/0.5.6/readme.txt (added)
-
tags/0.5.6/screenshot-1.png (added)
-
tags/0.5.6/screenshot-2.png (added)
-
tags/0.5.6/screenshot-3.png (added)
-
tags/0.5.6/wp-html-compression.php (added)
-
trunk/libs/absolute-to-relative-urls.php (modified) (2 diffs)
-
trunk/libs/html-minify.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wp-html-compression.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-html-compression/trunk/libs/absolute-to-relative-urls.php
r684443 r684886 1 1 <?php 2 2 /* 3 Absolute-to-Relative URLs 0.3. 2<http://www.svachon.com/blog/absolute-to-relative-urls/>3 Absolute-to-Relative URLs 0.3.3 <http://www.svachon.com/blog/absolute-to-relative-urls/> 4 4 A class for use in shortening URL links. 5 5 */ … … 308 308 protected function parse_url($url, $init=false) 309 309 { 310 if ( strpos($url, 'data:') === 0)311 { 312 // Nothing can be done with a data URI310 if ( stripos($url,'data:')===0 || stripos($url,'javascript:')===0 ) 311 { 312 // Nothing can be done with data/javascript URIs 313 313 return false; 314 314 } -
wp-html-compression/trunk/libs/html-minify.php
r684496 r684886 1 1 <?php 2 2 /* 3 HTML Minify 0.5. 5<http://www.svachon.com/blog/html-minify/>3 HTML Minify 0.5.6 <http://www.svachon.com/blog/html-minify/> 4 4 Reduce file size by shortening URLs and safely removing all standard comments and unnecessary white space from an HTML document. 5 5 */ … … 94 94 95 95 $relate = false; 96 $strip = false; 96 97 97 98 if (is_null($tag)) … … 126 127 127 128 $relate = true; 129 $strip = true; 128 130 } 129 131 } … … 139 141 $raw_tag = false; 140 142 } 141 else if ($raw_tag || $overriding) 142 { 143 $strip = false; 144 } 145 else 143 else if (!$raw_tag && !$overriding) 146 144 { 147 145 if ($tag !== '') -
wp-html-compression/trunk/readme.txt
r684511 r684886 81 81 == Changelog == 82 82 83 = 0.5.6 = 84 * Upgraded to **[Absolute-to-Relative URLs](http://wordpress.org/extend/plugins/absolute-to-relative-urls/)** v0.3.3 85 * Javascript URIs are no longer invalidated by the URL shortener 86 * Minor cleanup 87 83 88 = 0.5.5.1 = 84 89 * Oops, minor slip-up -
wp-html-compression/trunk/wp-html-compression.php
r684496 r684886 4 4 Plugin URI: http://www.svachon.com/blog/html-minify/ 5 5 Description: Reduce file size by shortening URLs and safely removing all standard comments and unnecessary whitespace from an HTML document. 6 Version: 0.5. 5.16 Version: 0.5.6 7 7 Author: Steven Vachon 8 8 Author URI: http://www.svachon.com/
Note: See TracChangeset
for help on using the changeset viewer.