Changeset 688423
- Timestamp:
- 03/28/2013 01:43:54 PM (13 years ago)
- Location:
- absolute-to-relative-urls
- Files:
-
- 3 added
- 3 edited
-
tags/0.3.3/absolute-to-relative-urls.php (modified) (1 diff)
-
tags/0.3.4 (added)
-
tags/0.3.4/absolute-to-relative-urls.php (added)
-
tags/0.3.4/readme.txt (added)
-
trunk/absolute-to-relative-urls.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
absolute-to-relative-urls/tags/0.3.3/absolute-to-relative-urls.php
r684838 r688423 1 1 <?php 2 2 /* 3 Absolute-to-Relative URLs 0.3.3 <http://www.svachon.com/blog/absolute-to-relative-urls/> 4 A class for use in shortening URL links. 3 Plugin Name: Absolute-to-Relative URLs 4 Plugin URI: http://www.svachon.com/blog/absolute-to-relative-urls/ 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.3 7 Author: Steven Vachon 8 Author URI: http://www.svachon.com/ 9 Author Email: contact@svachon.com 5 10 */ 6 11 -
absolute-to-relative-urls/trunk/absolute-to-relative-urls.php
r684838 r688423 1 1 <?php 2 2 /* 3 Absolute-to-Relative URLs 0.3.3 <http://www.svachon.com/blog/absolute-to-relative-urls/> 4 A class for use in shortening URL links. 3 Plugin Name: Absolute-to-Relative URLs 4 Plugin URI: http://www.svachon.com/blog/absolute-to-relative-urls/ 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.4 7 Author: Steven Vachon 8 Author URI: http://www.svachon.com/ 9 Author Email: contact@svachon.com 5 10 */ 6 11 … … 466 471 { 467 472 return '/'; 473 } 474 else if ($url === '#') 475 { 476 return '#'; 468 477 } 469 478 -
absolute-to-relative-urls/trunk/readme.txt
r684889 r688423 62 62 == Changelog == 63 63 64 = 0.3.4 = 65 * Empty, hash-only anchors (`"#"`) are no longer invalidated to `"/"` 66 64 67 = 0.3.3 = 65 * JavaScript URIs are no longer invalidated68 * JavaScript URIs (`"javascript:"`) are no longer invalidated as paths 66 69 67 70 = 0.3.2 = 68 * Data URIs are no longer invalidated71 * Data URIs (`"data:"`) are no longer invalidated as paths 69 72 70 73 = 0.3.1 =
Note: See TracChangeset
for help on using the changeset viewer.