Changeset 677326
- Timestamp:
- 03/07/2013 05:37:44 AM (13 years ago)
- Location:
- wp-html-compression
- Files:
-
- 9 added
- 2 edited
-
tags/0.5.4.2 (added)
-
tags/0.5.4.2/libs (added)
-
tags/0.5.4.2/libs/absolute-to-relative-urls.php (added)
-
tags/0.5.4.2/libs/html-minify.php (added)
-
tags/0.5.4.2/readme.txt (added)
-
tags/0.5.4.2/screenshot-1.png (added)
-
tags/0.5.4.2/screenshot-2.png (added)
-
tags/0.5.4.2/screenshot-3.png (added)
-
tags/0.5.4.2/wp-html-compression.php (added)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wp-html-compression.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-html-compression/trunk/readme.txt
r677319 r677326 81 81 == Changelog == 82 82 83 = 0.5.4.2 = 84 * PHP errors hidden if/when plugin file is accessed directly 85 83 86 = 0.5.4.1 = 84 87 * Fixed typo on variable -
wp-html-compression/trunk/wp-html-compression.php
r677319 r677326 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.4. 16 Version: 0.5.4.2 7 7 Author: Steven Vachon 8 8 Author URI: http://www.svachon.com/ … … 30 30 31 31 32 if (!is_admin()) 32 // Prevents errors when this file is accessed directly 33 if (function_exists('is_admin')) 33 34 { 34 @add_action('template_redirect', 'wp_html_compression_start', -1); 35 36 // In case above fails (it does sometimes.. ??) 37 add_action('get_header', 'wp_html_compression_start'); 38 } 39 else 40 { 41 // For v0.6 42 //require_once dirname(__FILE__) . '/admin.php'; 35 if (!is_admin()) 36 { 37 add_action('template_redirect', 'wp_html_compression_start', -1); 38 39 // In case above fails (it does sometimes.. ??) 40 add_action('get_header', 'wp_html_compression_start'); 41 } 42 else 43 { 44 // For v0.6 45 //require_once dirname(__FILE__) . '/admin.php'; 46 } 43 47 } 44 48
Note: See TracChangeset
for help on using the changeset viewer.