Plugin Directory

Changeset 583135


Ignore:
Timestamp:
08/08/2012 02:47:11 PM (14 years ago)
Author:
prometh
Message:

v0.5.2

Location:
wp-html-compression/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-html-compression/trunk/external/absolute-to-relative-urls.php

    r581147 r583135  
    44Plugin URI: http://www.svachon.com/
    55Description: 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
     6Version: 0.3.1
    77Author: Steven Vachon
    88Author URI: http://www.svachon.com/
     
    326326        if ($url !== false)
    327327        {
    328             // #anchor
    329             // index.html
    330             // /index.html
    331             // http://webserver
    332             // http://webserver/
    333             // http://webserver/index.html
    334             // http://webserver/./../index.html
    335            
    336328            if ($init)
    337329            {
     
    426418            }
    427419        }
    428        
    429         // TEMP :: faster to remove from $absolute_path then merge with $relative_path?
    430420       
    431421        // Form path
     
    452442                2: shortest possible URL (root- or path-relative)
    453443    */
    454     public function relate_url($url, $ignore_www=true, $output_type=2)
     444    public function relate_url($url, $ignore_www=false, $output_type=2)
    455445    {
    456446        if ($this->site_url !== false)
     
    622612            2: shortest possible URL (root- or path-relative)
    623613*/
    624 function absolute_to_relative_url($url, $ignore_www=true, $output_type=2)
     614function absolute_to_relative_url($url, $ignore_www=false, $output_type=2)
    625615{
    626616    global $absolute_to_relative_url_instance;
  • wp-html-compression/trunk/readme.txt

    r581147 r583135  
    6969== Changelog ==
    7070
     71= 0.5.2=
     72* Upgraded to **[Absolute-to-Relative URLs](http://wordpress.org/extend/plugins/absolute-to-relative-urls/)** v0.3.1
     73
    7174= 0.5.1 =
    7275* 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  
    44Plugin URI: http://www.svachon.com/wp-html-compression/
    55Description: Reduce file size by shortening URLs and safely removing all standard comments and unnecessary whitespace from an HTML document.
    6 Version: 0.5.1
     6Version: 0.5.2
    77Author: Steven Vachon
    88Author URI: http://www.svachon.com/
Note: See TracChangeset for help on using the changeset viewer.