WordPress.org

Plugin Directory

Changeset 376623


Ignore:
Timestamp:
04/24/11 20:13:25 (3 years ago)
Author:
madeinthayaland
Message:

1.1.2

  • Re-did options page and documentation to make things a bit more clear.
Location:
wp-minify/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-minify/trunk/options-generic.php

    r376509 r376623  
    115115      __('Show minify errors through FirePHP', $this->name) 
    116116    ); 
     117     
     118    printf(' 
     119      <h2 class="wpm_advanced" '.$advanced_style.'>%s</h2> 
     120      <p><label>%s<br/><textarea name="wpm_options_update[js_exclude]" style="width:600px" rows="5">'.attribute_escape(implode(chr(10), $wpm_options['js_exclude'])).'</textarea></label></p> 
     121      <p><label>%s<br/><textarea name="wpm_options_update[css_exclude]" style="width:600px" rows="5">'.attribute_escape(implode(chr(10), $wpm_options['css_exclude'])).'</textarea></label></p> 
     122      <p class="wpm_advanced" '.$advanced_style.'><label>%s<br/><textarea name="wpm_options_update[uri_exclude]" style="width:600px" rows="5">'.attribute_escape(implode(chr(10), $wpm_options['uri_exclude'])).'</textarea></label></p> 
     123      ', 
     124      __('Local Files Minification', $this->name), 
     125      __('JavaScript files to exclude from minify (line delimited).', $this->name), 
     126      __('CSS files to exclude from minify (line delimited).', $this->name), 
     127      __('URIs on which WP-Minify parsing will be disabled (line delimited)', $this->name) 
     128    ); 
     129 
     130    printf(' 
     131      <h2 class="wpm_advanced" '.$advanced_style.'>%s</h2> 
     132      <p class="wpm_advanced" '.$advanced_style.'><label>%s &nbsp; <input name="wpm_options_update[cache_external]" id="cache_external_checkbox" state="'.$include_toggle_state.'" type="checkbox" '.checked(true, $wpm_options['cache_external'], false).'/> &nbsp; (%s)</label></p> 
     133      <p class="wpm_advanced wpm_include" '.$advanced_style.' '.$include_style.'><label>%s (%s, <a href="http://omninoggin.com/wordpress-posts/tutorial-wp-minify-options/#include_external_files">%s</a>)<br/><textarea name="wpm_options_update[js_include]" style="width:600px" rows="5">'.attribute_escape(implode(chr(10), $wpm_options['js_include'])).'</textarea></label></p> 
     134      <p class="wpm_advanced wpm_include" '.$advanced_style.' '.$include_style.'><label>%s (%s, <a href="http://omninoggin.com/wordpress-posts/tutorial-wp-minify-options/#include_external_files">%s</a>)<br/><textarea name="wpm_options_update[css_include]" style="width:600px" rows="5">'.attribute_escape(implode(chr(10), $wpm_options['css_include'])).'</textarea></label></p> 
     135      ', 
     136      __('Non-Local Files Minification', $this->name), 
     137      __('Enable minification on external files', $this->name), 
     138      __('Not recommended unless you want to exclude a bunch of external .js/.css files', $this->name), 
     139      __('External JavaScript files to include into minify.', $this->name), 
     140      __('Only useful if "Minification on external files" is unchecked', $this->name), 
     141      __('more info', $this->name), 
     142      __('External CSS files to include into minify.', $this->name), 
     143      __('Only useful if "Minification on external files" is unchecked', $this->name), 
     144      __('more info', $this->name) 
     145    ); 
    117146 
    118147    printf(' 
     
    143172 
    144173    printf(' 
    145       <p class="wpm_advanced" '.$advanced_style.'><label>%s &nbsp; <input name="wpm_options_update[cache_external]" id="cache_external_checkbox" state="'.$include_toggle_state.'" type="checkbox" '.checked(true, $wpm_options['cache_external'], false).'/> &nbsp; (%s)</label></p> 
    146       <p class="wpm_advanced wpm_include" '.$advanced_style.' '.$include_style.'><label>%s <strong>%s</strong><br/><textarea name="wpm_options_update[js_include]" style="width:600px" rows="5">'.attribute_escape(implode(chr(10), $wpm_options['js_include'])).'</textarea></label></p> 
    147       <p class="wpm_advanced wpm_include" '.$advanced_style.' '.$include_style.'><label>%s <strong>%s</strong><br/><textarea name="wpm_options_update[css_include]" style="width:600px" rows="5">'.attribute_escape(implode(chr(10), $wpm_options['css_include'])).'</textarea></label></p> 
    148       <p><label>%s<br/><textarea name="wpm_options_update[js_exclude]" style="width:600px" rows="5">'.attribute_escape(implode(chr(10), $wpm_options['js_exclude'])).'</textarea></label></p> 
    149       <p><label>%s<br/><textarea name="wpm_options_update[css_exclude]" style="width:600px" rows="5">'.attribute_escape(implode(chr(10), $wpm_options['css_exclude'])).'</textarea></label></p> 
    150       <p class="wpm_advanced" '.$advanced_style.'><label>%s<br/><textarea name="wpm_options_update[uri_exclude]" style="width:600px" rows="5">'.attribute_escape(implode(chr(10), $wpm_options['uri_exclude'])).'</textarea></label></p> 
     174      <p class="wpm_advanced" '.$advanced_style.'><label>%s &nbsp; <input name="wpm_options_update[auto_base]" type="checkbox" '.checked(true, $wpm_options['auto_base'], false).'/></label></p> 
    151175      <p class="wpm_advanced" '.$advanced_style.'><label>%s<br/><input name="wpm_options_update[extra_minify_options]" type="text" size="100" value="'.attribute_escape($wpm_options['extra_minify_options']).'"/><br/><em>%s</em></label></p> 
    152176      ', 
    153       __('Enable Minification on External Files', $this->name), 
    154       __('Not recommended unless you want to exclude a bunch of external .js/.css files', $this->name), 
    155       __('JavaScript files to include into minify (line delimited).', $this->name), 
    156       __('Only useful if "Minification on External Files" is unchecked.', $this->name), 
    157       __('CSS files to include into minify (line delimited).', $this->name), 
    158       __('Only useful if "Minification on External Files" is unchecked.', $this->name), 
    159       __('JavaScript files to exclude from minify (line delimited).', $this->name), 
    160       __('CSS files to exclude from minify (line delimited).', $this->name), 
    161       __('URIs on which WP-Minify parsing will be disabled (line delimited)', $this->name), 
     177      __('Automatically set your Minify base per siteurl setting (recommended)', $this->name), 
    162178      __('Extra arguments to pass to minify engine. This value will get append to calls to URL "wp-minify/min/?f=file1.js,file2.js,...,fileN.js".', $this->name), 
    163179      __('e.g. You can specify this value to be b=somepath to specify the base path for all files passed into Minify.', $this->name) 
    164     ); 
    165  
    166     printf(' 
    167       <p class="wpm_advanced" '.$advanced_style.'><label>%s &nbsp; <input name="wpm_options_update[auto_base]" type="checkbox" '.checked(true, $wpm_options['auto_base'], false).'/></label></p> 
    168       ', 
    169       __('Automatically set your Minify base per siteurl setting (recommended)', $this->name) 
    170180    ); 
    171181 
  • wp-minify/trunk/readme.txt

    r376614 r376623  
    55Requires at least: 2.7 
    66Tested up to: 3.1.1 
    7 Stable Tag: 1.1.1 
     7Stable Tag: 1.1.2 
    88 
    99This plugin uses the Minify engine to combine and compress JS and CSS files 
     
    3838== Changelog == 
    3939 
     40= 1.1.2 = 
     41* Re-did options page and documentation to make things a bit more clear. 
     42 
    4043= 1.1.1 = 
    4144* Fixed incomplete /min/config.php file. 
  • wp-minify/trunk/wp-minify.php

    r376614 r376623  
    44Plugin URI: http://omninoggin.com/wordpress-plugins/wp-minify-wordpress-plugin/ 
    55Description: This plugin uses the Minify engine to combine and compress JS and CSS files to improve page load time. 
    6 Version: 1.1.1 
     6Version: 1.1.2 
    77Author: Thaya Kareeson 
    88Author URI: http://omninoggin.com 
     
    3434  var $name_proper = 'WP Minify';  
    3535  var $required_wp_version = '2.7'; 
    36   var $version = '1.1.1'; 
     36  var $version = '1.1.2'; 
    3737 
    3838  var $c = null; 
Note: See TracChangeset for help on using the changeset viewer.