Plugin Directory

Changeset 684886


Ignore:
Timestamp:
03/20/2013 07:00:40 PM (13 years ago)
Author:
prometh
Message:

v0.5.6

Location:
wp-html-compression
Files:
9 added
4 edited

Legend:

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

    r684443 r684886  
    11<?php
    22/*
    3 Absolute-to-Relative URLs 0.3.2 <http://www.svachon.com/blog/absolute-to-relative-urls/>
     3Absolute-to-Relative URLs 0.3.3 <http://www.svachon.com/blog/absolute-to-relative-urls/>
    44A class for use in shortening URL links.
    55*/
     
    308308    protected function parse_url($url, $init=false)
    309309    {
    310         if (strpos($url, 'data:') === 0)
    311         {
    312             // Nothing can be done with a data URI
     310        if ( stripos($url,'data:')===0 || stripos($url,'javascript:')===0 )
     311        {
     312            // Nothing can be done with data/javascript URIs
    313313            return false;
    314314        }
  • wp-html-compression/trunk/libs/html-minify.php

    r684496 r684886  
    11<?php
    22/*
    3 HTML Minify 0.5.5 <http://www.svachon.com/blog/html-minify/>
     3HTML Minify 0.5.6 <http://www.svachon.com/blog/html-minify/>
    44Reduce file size by shortening URLs and safely removing all standard comments and unnecessary white space from an HTML document.
    55*/
     
    9494           
    9595            $relate = false;
     96            $strip = false;
    9697           
    9798            if (is_null($tag))
     
    126127                       
    127128                        $relate = true;
     129                        $strip = true;
    128130                    }
    129131                }
     
    139141                    $raw_tag = false;
    140142                }
    141                 else if ($raw_tag || $overriding)
    142                 {
    143                     $strip = false;
    144                 }
    145                 else
     143                else if (!$raw_tag && !$overriding)
    146144                {
    147145                    if ($tag !== '')
  • wp-html-compression/trunk/readme.txt

    r684511 r684886  
    8181== Changelog ==
    8282
     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
    8388= 0.5.5.1 =
    8489* Oops, minor slip-up
  • wp-html-compression/trunk/wp-html-compression.php

    r684496 r684886  
    44Plugin URI: http://www.svachon.com/blog/html-minify/
    55Description: Reduce file size by shortening URLs and safely removing all standard comments and unnecessary whitespace from an HTML document.
    6 Version: 0.5.5.1
     6Version: 0.5.6
    77Author: Steven Vachon
    88Author URI: http://www.svachon.com/
Note: See TracChangeset for help on using the changeset viewer.