WordPress.org

Plugin Directory

Changeset 433124


Ignore:
Timestamp:
09/04/11 06:35:29 (3 years ago)
Author:
madeinthayaland
Message:

Releasing 1.1.7

Location:
wp-minify/trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • wp-minify/trunk/lang/wp-minify-it_IT.po

    r376760 r433124  
    33"Project-Id-Version: WP Minify in italiano\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2011-02-15 20:28+0100\n" 
     5"POT-Creation-Date: 2011-05-09 22:34+0100\n" 
    66"PO-Revision-Date: \n" 
    77"Last-Translator: Gianni Diurno (aka gidibao) <gidibao[at]gmail[dot]com>\n" 
     
    1717"X-Poedit-SearchPath-0: .\n" 
    1818 
    19 #: common.php:79 
     19#: common.php:77 
    2020#, php-format 
    2121msgid "You are using WordPress version %s." 
    2222msgstr "Stai utilizzando la versione %s di WordPress." 
    2323 
    24 #: common.php:80 
     24#: common.php:78 
    2525#, php-format 
    2626msgid "%s recommends that you use WordPress %s or newer." 
    2727msgstr "%s si raccomanda l'utilizzo di WordPress %s o superiore." 
    2828 
    29 #: common.php:83 
     29#: common.php:81 
    3030#, php-format 
    3131msgid "%sPlease update!%s" 
    3232msgstr "%sAggiorna!%s" 
    3333 
    34 #: common.php:90 
     34#: common.php:88 
    3535#, php-format 
    3636msgid "%s options has been updated." 
    3737msgstr "%s le opzioni sono state aggiornate." 
    3838 
    39 #: common.php:96 
     39#: common.php:94 
    4040#, php-format 
    4141msgid "%s options has been upgraded." 
    4242msgstr "%s le opzioni sono state aggiornate alla superiore." 
    4343 
    44 #: common.php:102 
     44#: common.php:100 
    4545#, php-format 
    4646msgid "%s options has been reset." 
    4747msgstr "%s le opzioni sono state ripristinate." 
    4848 
    49 #: common.php:108 
     49#: common.php:106 
    5050#, php-format 
    5151msgid "%s cache has been cleared." 
    5252msgstr "%s la cache é stata svuotata." 
    5353 
    54 #: common.php:114 
     54#: common.php:112 
    5555#, php-format 
    5656msgid "%s options imported." 
    5757msgstr "%s le opzioni sono state importate." 
    5858 
    59 #: common.php:120 
     59#: common.php:118 
    6060#, php-format 
    6161msgid "%s options import failed!" 
    6262msgstr "%s la importazione delle opzioni é fallita!" 
    6363 
    64 #: common.php:126 
     64#: common.php:124 
    6565#, php-format 
    6666msgid "Did not receive any file to be imported. %s options import failed!" 
    6767msgstr "Non é stato ricevuto alcun file che possa essere importato. %s l'importazione delle opzioni é fallita!" 
    6868 
    69 #: common.php:132 
     69#: common.php:130 
    7070#, php-format 
    7171msgid "Found syntax errors in file being imported. %s options import failed!" 
     
    7777 
    7878#: options-generic.php:18 
    79 #: options-generic.php:61 
     79#: options-generic.php:71 
    8080msgid "Show Advanced Options" 
    8181msgstr "Mostra opzioni avanzate" 
    8282 
    8383#: options-generic.php:35 
    84 #: options-generic.php:56 
     84#: options-generic.php:66 
    8585msgid "Hide Advanced Options" 
    8686msgstr "Nascondi opzioni avanzate" 
    8787 
    88 #: options-generic.php:70 
     88#: options-generic.php:88 
    8989msgid "Support this plugin!" 
    9090msgstr "Sostieni questo plugin!" 
    9191 
    92 #: options-generic.php:71 
     92#: options-generic.php:89 
    9393msgid "Display \"Page optimized by WP Minify\" link in the footer" 
    9494msgstr "Mostra nel footer il link \"Ottimizzazione pagina via WP Minify\"" 
    9595 
    96 #: options-generic.php:72 
     96#: options-generic.php:90 
    9797msgid "Do not display \"Page optimized by WP Minify\" link." 
    9898msgstr "Non mostrare il link \"Ottimizzazione pagina via WP Minify\"." 
    9999 
    100 #: options-generic.php:73 
     100#: options-generic.php:91 
    101101msgid "I will donate and/or write about this plugin" 
    102102msgstr "Ho scritto e/o donato per questo plugin" 
    103103 
    104 #: options-generic.php:82 
    105 #: wp-minify.php:366 
     104#: options-generic.php:100 
     105#: wp-minify.php:370 
    106106msgid "General Configuration" 
    107107msgstr "Configurazione generale" 
    108108 
    109 #: options-generic.php:83 
     109#: options-generic.php:101 
    110110msgid "Enable JavaScript Minification" 
    111111msgstr "Attiva minimizzazione per i JavaScript" 
    112112 
    113 #: options-generic.php:84 
     113#: options-generic.php:102 
    114114msgid "Enable CSS Minification" 
    115115msgstr "Attiva minimizzazione CSS" 
    116116 
    117 #: options-generic.php:85 
     117#: options-generic.php:103 
    118118msgid "Enable HTML Minification" 
    119119msgstr "Attiva minimizzazione HTML" 
    120120 
    121 #: options-generic.php:91 
     121#: options-generic.php:111 
     122msgid "Debugging" 
     123msgstr "Debugging" 
     124 
     125#: options-generic.php:112 
     126msgid "Combine files but do not minify" 
     127msgstr "Unire i file senza minimizzarli" 
     128 
     129#: options-generic.php:113 
     130msgid "Show minify errors through FirePHP" 
     131msgstr "Mostra errori minimizzazione via FirePHP" 
     132 
     133#: options-generic.php:122 
     134msgid "Local Files Minification" 
     135msgstr "Minimizzazione file locali" 
     136 
     137#: options-generic.php:123 
     138msgid "JavaScript files to exclude from minify (line delimited)." 
     139msgstr "File JavaScript da escludere dalla minimizzazione (uno per riga)." 
     140 
     141#: options-generic.php:124 
     142msgid "CSS files to exclude from minify (line delimited)." 
     143msgstr "File CSS da escludere dalla minimizzazione (uno per riga)." 
     144 
     145#: options-generic.php:125 
     146msgid "URIs on which WP-Minify parsing will be disabled (line delimited)" 
     147msgstr "URI da escludere dal parsing di WP-Minify (uno per riga)" 
     148 
     149#: options-generic.php:134 
     150msgid "Non-Local Files Minification" 
     151msgstr "Minimizzazione file non locali" 
     152 
     153#: options-generic.php:135 
     154msgid "Enable minification on external files" 
     155msgstr "Attiva minimizzazione per i file esterni" 
     156 
     157#: options-generic.php:136 
     158msgid "Not recommended unless you want to exclude a bunch of external .js/.css files" 
     159msgstr "Non consigliabile a patto che tu non voglia escludere un gruppo di file .js/.css esterni" 
     160 
     161#: options-generic.php:137 
     162msgid "External JavaScript files to include into minify." 
     163msgstr "File JavaScript esterni da includere alla minimizzazione." 
     164 
     165#: options-generic.php:138 
     166#: options-generic.php:141 
     167msgid "Only useful if \"Minification on external files\" is unchecked" 
     168msgstr "Utile solo se \"Minimizzazione file esterni\" non attiva" 
     169 
     170#: options-generic.php:139 
     171#: options-generic.php:142 
     172#: options-generic.php:166 
     173msgid "more info" 
     174msgstr "ulteriori informazioni" 
     175 
     176#: options-generic.php:140 
     177msgid "External CSS files to include into minify." 
     178msgstr "File CSS esterni da includere alla minimizzazione." 
     179 
     180#: options-generic.php:150 
     181msgid "Caching" 
     182msgstr "Cache" 
     183 
     184#: options-generic.php:151 
     185msgid "Cache expires after every" 
     186msgstr "La cache scade ogni " 
     187 
     188#: options-generic.php:152 
     189msgid "seconds" 
     190msgstr " secondi" 
     191 
     192#: options-generic.php:153 
     193msgid "Manually Clear Cache" 
     194msgstr "Svuota manualmente la cache" 
     195 
     196#: options-generic.php:161 
     197msgid "Tweaking/Tuning" 
     198msgstr "Tweaking/Tuning" 
     199 
     200#: options-generic.php:162 
     201msgid "Use \"pretty\" URL\"" 
     202msgstr "Usa \"pretty\" URL\"" 
     203 
     204#: options-generic.php:163 
     205msgid "i.e. use \"wp-minify/cache/1234abcd.js\" instead of \"wp-minify/min/?f=file1.js,file2.js,...,fileN.js\"" 
     206msgstr "ad esempio usa \"wp-minify/cache/1234abcd.js\" al posto di \"wp-minify/min/?f=file1.js,file2.js,...,fileN.js\"" 
     207 
     208#: options-generic.php:164 
    122209msgid "Place Minified JavaScript in footer" 
    123210msgstr "Posiziona il Minified JavaScript nel footer" 
    124211 
    125 #: options-generic.php:92 
     212#: options-generic.php:165 
    126213msgid "Not recommended" 
    127214msgstr "Non consigliato" 
    128215 
    129 #: options-generic.php:93 
    130 msgid "more info" 
    131 msgstr "ulteriori informazioni" 
    132  
    133 #: options-generic.php:99 
     216#: options-generic.php:172 
    134217msgid "Force all JavaScript/CSS calls to be HTTPS on HTTPS pages" 
    135218msgstr "Imponi a tutte le chiamate JavaScript/CSS di essere HTTPS per le pagine HTTPS" 
    136219 
    137 #: options-generic.php:107 
    138 msgid "Combine files but do not minify" 
    139 msgstr "Unire i file senza minimizzarli" 
    140  
    141 #: options-generic.php:108 
    142 #: options-generic.php:110 
    143 msgid "Debug mode" 
    144 msgstr "Modalità debug" 
    145  
    146 #: options-generic.php:109 
    147 msgid "Show minify errors through FirePHP" 
    148 msgstr "Mostra errori minimizzazione via FirePHP" 
    149  
    150 #: options-generic.php:111 
    151 msgid "Cache expires after every" 
    152 msgstr "La cache scade ogni " 
    153  
    154 #: options-generic.php:112 
    155 msgid "seconds" 
    156 msgstr " secondi" 
    157  
    158 #: options-generic.php:113 
    159 msgid "Manually Clear Cache" 
    160 msgstr "Svuota manualmente la cache" 
    161  
    162 #: options-generic.php:125 
    163 msgid "Enable Minification on External Files" 
    164 msgstr "Attiva minimizzazione per i file esterni" 
    165  
    166 #: options-generic.php:126 
    167 msgid "Not recommended unless you want to exclude a bunch of external .js/.css files" 
    168 msgstr "Non consigliabile a patto che tu non voglia escludere un gruppo di file .js/.css esterni" 
    169  
    170 #: options-generic.php:127 
    171 msgid "JavaScript files to include into minify (line delimited)." 
    172 msgstr "File JavaScript da includere alla minimizzazione (uno per riga)." 
    173  
    174 #: options-generic.php:128 
    175 #: options-generic.php:131 
    176 msgid "Only useful if external files is unchecked." 
    177 msgstr "Utile solamente se inattiva opzione file esterni." 
    178  
    179 #: options-generic.php:129 
    180 msgid "JavaScript files to exclude from minify (line delimited)." 
    181 msgstr "File JavaScript da escludere dalla minimizzazione (uno per riga)." 
    182  
    183 #: options-generic.php:130 
    184 msgid "CSS files to include into minify (line delimited)." 
    185 msgstr "File JavaScript da includere alla minimizzazione (uno per riga)." 
    186  
    187 #: options-generic.php:132 
    188 msgid "CSS files to exclude from minify (line delimited)." 
    189 msgstr "File CSS da escludere dalla minimizzazione (uno per riga)." 
    190  
    191 #: options-generic.php:133 
    192 msgid "URIs on which WP-Minify parsing will be disabled (line delimited)" 
    193 msgstr "URI da escludere dal parsing di WP-Minify (uno per riga)" 
    194  
    195 #: options-generic.php:134 
     220#: options-generic.php:179 
     221msgid "Automatically set your Minify base per siteurl setting (recommended)" 
     222msgstr "Imposta in automatico Minify a url del sito (consigliato)" 
     223 
     224#: options-generic.php:180 
    196225msgid "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\"." 
    197226msgstr "Argomenti extra da veicolare nel motore di minimizzazione. Questo valore verrà aggiunto alle chiamate all'URL \"wp-minify/min/?f=file1.js,file2.js,...,fileN.js\"." 
    198227 
    199 #: options-generic.php:135 
     228#: options-generic.php:181 
    200229msgid "e.g. You can specify this value to be b=somepath to specify the base path for all files passed into Minify." 
    201230msgstr "ad es: specifica il valore b=somepath per definire il percorso di base per tutti i file veicolati in Minify." 
    202231 
    203 #: options-generic.php:141 
    204 msgid "Automatically set your Minify base per siteurl setting" 
    205 msgstr "Imposta in automatico Minify a url del sito" 
    206  
    207 #: options-generic.php:152 
     232#: options-generic.php:192 
    208233msgid "Update Options" 
    209234msgstr "Aggiorna le opzioni" 
    210235 
    211 #: options-generic.php:153 
     236#: options-generic.php:193 
    212237msgid "Reset ALL Options" 
    213238msgstr "Ripristina TUTTE le opzioni" 
    214239 
    215 #: wp-minify.php:327 
     240#: wp-minify.php:331 
    216241msgid "Cache directory is not writable. Please grant your server write permissions to the directory" 
    217242msgstr "La cartella Cache non é scrivibile. Apporta le modifiche ai permessi chmod del file" 
    218243 
    219 #: wp-minify.php:335 
     244#: wp-minify.php:339 
    220245msgid "Minify Engine config.php is not writable. Please grant your server write permissions to file" 
    221246msgstr "Il Minify Engine config.php non é scrivibile. Apporta le modifiche ai permessi chmod del file" 
    222247 
    223 #: wp-minify.php:342 
    224 msgid "Some option settings are missing (possibly from plugin upgrade).  Please reactivate." 
    225 msgstr "Mancano alcune opzioni di impostazione (causa aggiornamento plugin).  Riattiva." 
    226  
    227248#: wp-minify.php:346 
     249msgid "Some option settings are missing (possibly from plugin upgrade)." 
     250msgstr "Mancano alcune opzioni di impostazione (causa aggiornamento plugin)." 
     251 
     252#: wp-minify.php:350 
    228253msgid "Minify Engine config.php was configured automatically." 
    229254msgstr "Il Minify Engine config.php é stato configurato automaticamente." 
    230255 
    231 #: wp-minify.php:365 
     256#: wp-minify.php:369 
    232257msgid "WP Minify Options" 
    233258msgstr "Opzioni WP Minify" 
    234259 
    235 #: wp-minify.php:367 
     260#: wp-minify.php:371 
    236261msgid "Documentation" 
    237262msgstr "Documentazione" 
    238263 
    239 #: wp-minify.php:414 
     264#: wp-minify.php:418 
    240265msgid "Error: Could not fetch and cache URL" 
    241266msgstr "Errore: impossibile elaborazione e cache URL" 
    242267 
    243 #: wp-minify.php:415 
     268#: wp-minify.php:419 
    244269msgid "You might need to exclude this file in WP Minify options." 
    245270msgstr "Potrebbe essere necessario escludere questo file nelle opzioni WP Minify." 
    246271 
     272#~ msgid "Debug mode" 
     273#~ msgstr "Modalità debug" 
  • wp-minify/trunk/readme.txt

    r379598 r433124  
    44Donate link: http://omninoggin.com/donate/ 
    55Requires at least: 2.7 
    6 Tested up to: 3.1.2 
    7 Stable Tag: 1.1.6 
     6Tested up to: 3.2.1 
     7Stable Tag: 1.1.7 
    88 
    99This plugin uses the Minify engine to combine and compress JS and CSS files 
     
    3838== Changelog == 
    3939 
     40= 1.1.7 = 
     41* Set User Agent as "WP-Minify" when curling things. 
     42* Cleaned up some old code. 
     43* Added last modified time to pretty URLs. 
     44* Updating it_IT translation (thanks Gianni Diiurno!). 
     45* Added uk translation (thanks Jurko Chervony!). 
     46 
    4047= 1.1.6 = 
    4148* Extra precautions when printing last modified time variable (?m= vs. &amp;m=) 
  • wp-minify/trunk/wp-minify.php

    r379598 r433124  
    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.6 
     6Version: 1.1.7 
    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.6'; 
     36  var $version = '1.1.7'; 
    3737 
    3838  var $c = null; 
    39   var $debug = true; 
     39  var $debug = false; 
    4040  var $cache_location = 'wp-content/plugins/wp-minify/cache/'; 
    4141  var $url_len_limit = 2000; 
     
    394394    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); 
    395395    curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout); 
     396    curl_setopt ($ch, CURLOPT_USERAGENT, 'WP-Minify'); 
    396397    $content = curl_exec($ch); 
    397398    curl_close($ch); 
     
    445446  } 
    446447 
    447   function check_and_split_url($url) { 
     448  function check_and_split_url($url, $latest_modified = 0) { 
    448449    $url_chunk = explode('?f=', $url); 
    449450    $base_url = array_shift($url_chunk); 
     
    451452    $num_files = sizeof($files); 
    452453 
    453     if ($url > $this->url_len_limit or $num_files > $this->minify_limit) { 
    454       $first_half = $this->check_and_split_url($base_url . '?f=' . implode(',', array_slice($files, 0, $num_files/2))); 
    455       $second_half = $this->check_and_split_url($base_url . '?f=' . implode(',', array_slice($files, $num_files/2))); 
     454    if ($this->url_needs_splitting($url, $files)) { 
     455      $first_half = $this->check_and_split_url($base_url . '?f=' . implode(',', array_slice($files, 0, $num_files/2)), $latest_modified); 
     456      $second_half = $this->check_and_split_url($base_url . '?f=' . implode(',', array_slice($files, $num_files/2)), $latest_modified); 
    456457      return $first_half + $second_half; 
    457458    } 
     
    482483      } 
    483484 
    484       return array($base_url . '?f=' . implode(',', $files) . $debug_string . $base_string . $extra_string); 
     485      // append last modified time 
     486      $latest_modified_string = '&amp;m='.$latest_modified; 
     487      error_log($latest_modified_string); 
     488 
     489      return array($base_url . '?f=' . implode(',', $files) . $debug_string . $base_string . $extra_string . $latest_modified_string); 
    485490    } 
    486491  } 
     
    573578  } 
    574579 
     580  function url_needs_splitting($url, $locations) { 
     581    if ($url > $this->url_len_limit || count($locations) > $this->minify_limit) { 
     582      return true; 
     583    } else { 
     584      return false; 
     585    } 
     586  } 
     587 
    575588  function build_minify_urls($locations, $type) { 
    576589    $wpm_options = get_option($this->name); 
     
    580593    } 
    581594    $minify_url .= implode(',', $locations); 
     595    $latest_modified = $this->get_latest_modified_time($locations); 
     596    $minify_urls = $this->check_and_split_url($minify_url, $latest_modified); 
     597 
    582598    if ($wpm_options['pretty_url']) { 
    583       $minify_urls = $this->check_and_split_url($minify_url); 
    584599      return $this->get_cached_minify_urls($minify_urls, $type); 
    585600    } else { 
    586       return $this->check_and_split_url($minify_url); 
     601      return $minify_urls; 
    587602    } 
    588603  } 
     
    609624        $this->fetch_and_cache($url, $cache_file); 
    610625      } 
    611       $cache_url = $this->c->get_plugin_url().'cache/'.md5($url).$type; 
     626      $cache_url = $this->c->get_plugin_url().'cache/'.md5($url).$type.'?m='.filemtime($cache_file); 
    612627      $cached_urls[] = $cache_url; 
    613628    } 
    614629    return $cached_urls; 
    615630  } 
    616  
    617   // TBD 
    618   //function build_minify_urls2($locations, $type) { 
    619   //  $wpm_options = get_option($this->name); 
    620   //  $minify_url = $this->c->get_plugin_url().'min/?g='.$type; 
    621   //  if ($wpm_options['force_https'] && $_SERVER["HTTPS"] == "on") { 
    622   //    $minify_url = preg_replace('/^http:\/\//', 'https://', $minify_url); 
    623   //  } 
    624  
    625   //  // dynamically generate groupsConfig.php if needed 
    626   //  $fname = $this->c->get_plugin_dir().'min/groupsConfig.php'; 
    627   //  $fhandle = fopen($fname,'r'); 
    628   //  $content = fread($fhandle,filesize($fname)); 
    629   //  //$minify_url .= implode(',', $locations); 
    630   //  // example code: 'js' => array('//js/file1.js', '//js/file2.js'), 
    631   //  $new_code = "'js' => array('"; 
    632   //  $new_code .= '//'.implode("','//", $locations); 
    633   //  $new_code .= "'),"; 
    634   //  $content = preg_replace( 
    635   //    '/\/\/###WPM-GROUPS-JS-BEFORE###(.*)\/\/###WPM-GROUPS-JS-AFTER###/s', 
    636   //    "//###WPM-GROUPS-JS-BEFORE###\n".$new_code."\n//###WPM-GROUPS-JS-AFTER###", 
    637   //    $content); 
    638   //  $fhandle = fopen($fname,"w"); 
    639   //  fwrite($fhandle,$content); 
    640   //  fclose($fhandle); 
    641  
    642   //  return array($minify_url); 
    643   //} 
    644631 
    645632  function get_base_from_minify_args() { 
     
    670657      return ''; 
    671658    } 
     659  } 
     660 
     661  function get_latest_modified_time($locations = array()) { 
     662    $latest_modified = 0; 
     663    if (!empty($locations)) { 
     664      $base_path = trailingslashit($_SERVER['DOCUMENT_ROOT']); 
     665      $base_path .= trailingslashit($this->get_base()); 
     666 
     667      foreach ($locations as $location) { 
     668        $path = $base_path.$location; 
     669        $mtime = filemtime($path); 
     670        if ($latest_modified < $mtime) { 
     671          $latest_modified = $mtime; 
     672        } 
     673      } 
     674    } 
     675    return $latest_modified; 
    672676  } 
    673677 
     
    736740      $minify_urls = $this->build_minify_urls($css_locations, '.css'); 
    737741 
    738       $latest_modified = 0; 
    739       $base_path = trailingslashit($_SERVER['DOCUMENT_ROOT']); 
    740       $base_path .= trailingslashit($this->get_base()); 
    741  
    742       foreach ($css_locations as $location) { 
    743         $path = $base_path.$location; 
    744         $mtime = filemtime($path); 
    745         if ($latest_modified < $mtime) { 
    746           $latest_modified = $mtime; 
    747         } 
    748       } 
    749  
    750742      foreach ($minify_urls as $minify_url) { 
    751         if ($this->debug) 
    752           echo 'Minify URL:'.$minify_url; 
    753         if (strpos($minify_url, '?') != false) { 
    754           // if has GET parameters already 
    755           $minify_url = $minify_url.'&amp;m='.$latest_modified; 
    756         } else { 
    757           $minify_url = $minify_url.'?m='.$latest_modified; 
    758         } 
    759743        $minify_url = apply_filters('wp_minify_css_url', $minify_url); // Allow plugins to modify final minify URL 
    760744        $css_tags .= "<link rel='stylesheet' href='$minify_url' type='text/css' media='screen' />"; 
     
    851835      $minify_urls = $this->build_minify_urls($js_locations, '.js'); 
    852836 
    853       $latest_modified = 0; 
    854       $base_path = trailingslashit($_SERVER['DOCUMENT_ROOT']); 
    855       $base_path .= trailingslashit($this->get_base()); 
    856  
    857       foreach ($js_locations as $location) { 
    858         $path = $base_path.$location; 
    859         $mtime = filemtime($path); 
    860         if ($latest_modified < $mtime) { 
    861           $latest_modified = $mtime; 
    862         } 
    863       } 
    864  
    865837      foreach ($minify_urls as $minify_url) { 
    866         if ($this->debug) 
    867           echo 'Minify URL:'.$minify_url; 
    868         if (strpos($minify_url, '?') != false) { 
    869           // if has GET parameters already 
    870           $minify_url = $minify_url.'&amp;m='.$latest_modified; 
    871         } else { 
    872           $minify_url = $minify_url.'?m='.$latest_modified; 
    873         } 
    874838        $minify_url = apply_filters('wp_minify_js_url', $minify_url); // Allow plugins to modify final minify URL 
    875839        $js_tags .= "<script type='text/javascript' src='$minify_url'></script>"; 
Note: See TracChangeset for help on using the changeset viewer.