Changeset 583135
- Timestamp:
- 08/08/2012 02:47:11 PM (14 years ago)
- Location:
- wp-html-compression/trunk
- Files:
-
- 3 edited
-
external/absolute-to-relative-urls.php (modified) (5 diffs)
-
readme.txt (modified) (1 diff)
-
wp-html-compression.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-html-compression/trunk/external/absolute-to-relative-urls.php
r581147 r583135 4 4 Plugin URI: http://www.svachon.com/ 5 5 Description: A <strong>function</strong> for use in shortening URL links. Just use <code><strong>absolute_to_relative_url</strong>( string <em>$url</em> [, bool <em>$ignore_www</em> = <em>true</em> [, bool <em>$choose_shortest</em> = <em>true</em>]] )</code>. 6 Version: 0.3 6 Version: 0.3.1 7 7 Author: Steven Vachon 8 8 Author URI: http://www.svachon.com/ … … 326 326 if ($url !== false) 327 327 { 328 // #anchor329 // index.html330 // /index.html331 // http://webserver332 // http://webserver/333 // http://webserver/index.html334 // http://webserver/./../index.html335 336 328 if ($init) 337 329 { … … 426 418 } 427 419 } 428 429 // TEMP :: faster to remove from $absolute_path then merge with $relative_path?430 420 431 421 // Form path … … 452 442 2: shortest possible URL (root- or path-relative) 453 443 */ 454 public function relate_url($url, $ignore_www= true, $output_type=2)444 public function relate_url($url, $ignore_www=false, $output_type=2) 455 445 { 456 446 if ($this->site_url !== false) … … 622 612 2: shortest possible URL (root- or path-relative) 623 613 */ 624 function absolute_to_relative_url($url, $ignore_www= true, $output_type=2)614 function absolute_to_relative_url($url, $ignore_www=false, $output_type=2) 625 615 { 626 616 global $absolute_to_relative_url_instance; -
wp-html-compression/trunk/readme.txt
r581147 r583135 69 69 == Changelog == 70 70 71 = 0.5.2= 72 * Upgraded to **[Absolute-to-Relative URLs](http://wordpress.org/extend/plugins/absolute-to-relative-urls/)** v0.3.1 73 71 74 = 0.5.1 = 72 75 * Upgraded to **[Absolute-to-Relative URLs](http://wordpress.org/extend/plugins/absolute-to-relative-urls/)** v0.3 -
wp-html-compression/trunk/wp-html-compression.php
r581147 r583135 4 4 Plugin URI: http://www.svachon.com/wp-html-compression/ 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. 16 Version: 0.5.2 7 7 Author: Steven Vachon 8 8 Author URI: http://www.svachon.com/
Note: See TracChangeset
for help on using the changeset viewer.