WordPress.org

Plugin Directory

Changeset 716406


Ignore:
Timestamp:
05/22/13 04:19:47 (11 months ago)
Author:
fredericktownes
Message:

Minify improves and CDN bug fixes.

Location:
w3-total-cache
Files:
551 added
16 edited

Legend:

Unmodified
Added
Removed
  • w3-total-cache/trunk/inc/define.php

    r712783 r716406  
    66 
    77define('W3TC', true); 
    8 define('W3TC_VERSION', '0.9.2.10'); 
     8define('W3TC_VERSION', '0.9.2.11'); 
    99define('W3TC_POWERED_BY', 'W3 Total Cache/' . W3TC_VERSION); 
    1010define('W3TC_EMAIL', 'w3tc@w3-edge.com'); 
     
    111111} 
    112112 
     113/** 
     114 * If content can handle HTML comments, can disable printout per request using filter 'w3tc_can_print_comment' 
     115 * @param $buffer 
     116 * @return bool 
     117 */ 
     118function w3_can_print_comment(&$buffer) { 
     119    return apply_filters('w3tc_can_print_comment', w3_is_xml($buffer) && !defined('DOING_AJAX')); 
     120} 
     121 
    113122/* 
    114123 * Returns URI from filename/dirname 
  • w3-total-cache/trunk/inc/options/general.php

    r712783 r716406  
    5757            </tr> 
    5858            <tr> 
    59                 <th><?php _e('Page cache method:', 'w3-total-cache'); ?></th> 
    60                 <td> 
    61                     <select name="pgcache.engine" <?php $this->sealing_disabled('pgcache') ?>> 
     59                <th><label for="pgcache_engine"><?php _e('Page cache method:', 'w3-total-cache'); ?></label></th> 
     60                <td> 
     61                    <select id="pgcache_engine" name="pgcache.engine" <?php $this->sealing_disabled('pgcache') ?>> 
    6262                        <optgroup label="<?php _e('Shared Server (disk enhanced is best):', 'w3-total-cache'); ?>"> 
    6363                            <option value="file"<?php selected($this->_config->get_string('pgcache.engine'), 'file'); ?>><?php _e('Disk: Basic', 'w3-total-cache'); ?></option> 
  • w3-total-cache/trunk/inc/options/minify.php

    r712783 r716406  
    409409        <?php if ($auto):?> 
    410410        <tr> 
    411             <th><label for="minify_auto_filename_length">Filename length:</label></th> 
    412             <td><input id="minify_auto_filename_length" name="minify.auto.filename_length" type="text" size="4" value="<?php echo $this->_config->get_integer('minify.auto.filename_length')?>" /> 
    413                 <br /><span class="description">Maximum filename length to enter is 246. Change this value to decrease or 
     411            <th colspan="2"><?php $this->checkbox('minify.auto.disable_filename_length_test')?> <?php _e('Disable Minify Auto automatic filename test', 'w3-total-cache') ?></label><br /> 
     412                <span class="description"><?php _e('Disables functionality that tries to find optimal filename length for Minify Auto files. Needs to be checked to be able to set manual filename length below.', 'w3-total-cache')?></span><br /> 
     413                <br /> 
     414                <label for="minify_auto_filename_length">Filename length:</label> 
     415                <input id="minify_auto_filename_length" name="minify.auto.filename_length" type="text" size="4" <?php disabled($this->_config->get_boolean('minify.auto.disable_filename_length_test'), false) ?> value="<?php echo $this->_config->get_integer('minify.auto.filename_length')?>" /> 
     416                <br /><span class="description"><?php _e('Maximum filename length to enter is 246. Change this value to decrease or 
    414417                increase the number of minified files that are generated. 
    415418                The more JS/CSS files you have the more files will be generated since the filenames are combined in 
    416                 the filename. This is only applicable when using Minify Auto. 
     419                the filename. This is only applicable when using Minify Auto.', 'w3-total-cache') ?> 
    417420            </span> 
    418             </td> 
     421            </th> 
    419422        </tr> 
    420423        <?php endif ?> 
  • w3-total-cache/trunk/languages/w3-total-cache.pot

    r712783 r716406  
    22msgstr "" 
    33"Project-Id-Version: W3 Total Cache\n" 
    4 "POT-Creation-Date: 2013-05-13 15:46+0100\n" 
    5 "PO-Revision-Date: 2013-05-13 15:46+0100\n" 
     4"POT-Creation-Date: 2013-05-16 16:07+0100\n" 
     5"PO-Revision-Date: 2013-05-16 16:07+0100\n" 
    66"Last-Translator: Andreas Nurbo <andreas@cyonitesystems.com>\n" 
    77"Language-Team: W3 EDGE\n" 
     
    869869#: inc/options/minify.php:76 inc/options/minify.php:132 
    870870#: inc/options/minify.php:286 inc/options/minify.php:403 
    871 #: inc/options/minify.php:501 inc/options/mobile.php:83 
     871#: inc/options/minify.php:504 inc/options/mobile.php:83 
    872872#: inc/options/objectcache.php:83 inc/options/pgcache.php:95 
    873873#: inc/options/pgcache.php:142 inc/options/pgcache.php:229 
     
    896896#: inc/options/browsercache.php:303 inc/options/cdn.php:208 
    897897#: inc/options/cdn.php:217 inc/options/dbcache.php:53 
    898 #: inc/options/dbcache.php:61 inc/options/minify.php:440 
    899 #: inc/options/minify.php:449 inc/options/objectcache.php:41 
     898#: inc/options/dbcache.php:61 inc/options/minify.php:443 
     899#: inc/options/minify.php:452 inc/options/objectcache.php:41 
    900900#: inc/options/objectcache.php:49 inc/options/pgcache.php:111 
    901901#: inc/options/pgcache.php:275 inc/options/pgcache.php:285 
     
    12481248msgstr "" 
    12491249 
    1250 #: inc/options/cdn.php:273 inc/options/minify.php:478 
     1250#: inc/options/cdn.php:273 inc/options/minify.php:481 
    12511251#: inc/options/pgcache.php:306 
    12521252msgid "Rejected user agents:" 
     
    12781278 
    12791279#: inc/options/cdn.php:305 inc/options/install.php:269 
    1280 #: inc/options/minify.php:505 inc/options/mobile.php:87 
     1280#: inc/options/minify.php:508 inc/options/mobile.php:87 
    12811281#: inc/options/support/form.php:6 
    12821282msgid "Note(s):" 
     
    13851385msgstr "" 
    13861386 
    1387 #: inc/options/dbcache.php:38 inc/options/minify.php:423 
     1387#: inc/options/dbcache.php:38 inc/options/minify.php:426 
    13881388#: inc/options/objectcache.php:27 inc/options/pgcache.php:237 
    13891389#: inc/options/pro/fragmentcache.php:50 
     
    13931393msgstr "" 
    13941394 
    1395 #: inc/options/dbcache.php:42 inc/options/minify.php:429 
     1395#: inc/options/dbcache.php:42 inc/options/minify.php:432 
    13961396#: inc/options/objectcache.php:31 inc/options/pgcache.php:245 
    13971397#: inc/options/pro/fragmentcache.php:54 
     
    13991399msgstr "" 
    14001400 
    1401 #: inc/options/dbcache.php:44 inc/options/minify.php:431 
     1401#: inc/options/dbcache.php:44 inc/options/minify.php:434 
    14021402#: inc/options/objectcache.php:33 inc/options/pgcache.php:247 
    14031403#: inc/options/pro/fragmentcache.php:56 
     
    14181418msgstr "" 
    14191419 
    1420 #: inc/options/dbcache.php:58 inc/options/minify.php:445 
     1420#: inc/options/dbcache.php:58 inc/options/minify.php:448 
    14211421#: inc/options/objectcache.php:46 inc/options/pgcache.php:281 
    14221422#: inc/options/pro/fragmentcache.php:68 
     
    14241424msgstr "" 
    14251425 
    1426 #: inc/options/dbcache.php:62 inc/options/minify.php:450 
     1426#: inc/options/dbcache.php:62 inc/options/minify.php:453 
    14271427#: inc/options/objectcache.php:50 inc/options/pgcache.php:286 
    14281428#: inc/options/pro/fragmentcache.php:71 
     
    28322832msgstr "" 
    28332833 
    2834 #: inc/options/minify.php:436 
     2834#: inc/options/minify.php:411 
     2835msgid "Disable Minify Auto automatic filename test" 
     2836msgstr "" 
     2837 
     2838#: inc/options/minify.php:412 
     2839msgid "" 
     2840"Disables functionality that tries to find optimal filename length for Minify " 
     2841"Auto files. Needs to be checked to be able to set manual filename length " 
     2842"below." 
     2843msgstr "" 
     2844 
     2845#: inc/options/minify.php:416 
     2846msgid "" 
     2847"Maximum filename length to enter is 246. Change this value to decrease or\n" 
     2848"                increase the number of minified files that are generated.\n" 
     2849"                The more JS/CSS files you have the more files will be " 
     2850"generated since the filenames are combined in\n" 
     2851"                the filename. This is only applicable when using Minify Auto." 
     2852msgstr "" 
     2853 
     2854#: inc/options/minify.php:439 
    28352855msgid "Update external files every:" 
    28362856msgstr "" 
    28372857 
    2838 #: inc/options/minify.php:441 
     2858#: inc/options/minify.php:444 
    28392859msgid "" 
    28402860"Specify the interval between download and update of external files in the " 
     
    28432863msgstr "" 
    28442864 
    2845 #: inc/options/minify.php:454 
     2865#: inc/options/minify.php:457 
    28462866msgid "Never minify the following pages:" 
    28472867msgstr "" 
    28482868 
    2849 #: inc/options/minify.php:458 
     2869#: inc/options/minify.php:461 
    28502870msgid "Always ignore the specified pages / directories." 
    28512871msgstr "" 
    28522872 
    2853 #: inc/options/minify.php:462 
     2873#: inc/options/minify.php:465 
    28542874msgid "Never minify the following JS files:" 
    28552875msgstr "" 
    28562876 
    2857 #: inc/options/minify.php:466 
     2877#: inc/options/minify.php:469 
    28582878msgid "Always ignore the specified JS files." 
    28592879msgstr "" 
    28602880 
    2861 #: inc/options/minify.php:470 
     2881#: inc/options/minify.php:473 
    28622882msgid "Never minify the following CSS files:" 
    28632883msgstr "" 
    28642884 
    2865 #: inc/options/minify.php:474 
     2885#: inc/options/minify.php:477 
    28662886msgid "Always ignore the specified CSS files." 
    28672887msgstr "" 
    28682888 
    2869 #: inc/options/minify.php:483 
     2889#: inc/options/minify.php:486 
    28702890msgid "Specify user agents that will never receive minified content." 
    28712891msgstr "" 
    28722892 
    2873 #: inc/options/minify.php:488 
     2893#: inc/options/minify.php:491 
    28742894msgid "Include external files/libaries:" 
    28752895msgstr "" 
    28762896 
    2877 #: inc/options/minify.php:493 
     2897#: inc/options/minify.php:496 
    28782898msgid "Specify external files/libraries that should be combined." 
    28792899msgstr "" 
    28802900 
    2881 #: inc/options/minify.php:510 
     2901#: inc/options/minify.php:513 
    28822902msgid "" 
    28832903"Enable <acronym title=\"Hypertext Transfer Protocol\">HTTP</acronym> " 
     
    28862906msgstr "" 
    28872907 
    2888 #: inc/options/minify.php:511 
     2908#: inc/options/minify.php:514 
    28892909msgid "" 
    28902910"The <acronym title=\"Time to Live\">TTL</acronym> of page cache files is set " 
     
    38173837msgstr "" 
    38183838 
    3819 #: inc/options/cdn/maxcdn.php:18 inc/options/cdn/maxcdn.php:20 
    3820 #: inc/options/cdn/netdna.php:18 inc/options/cdn/netdna.php:20 
     3839#: inc/options/cdn/maxcdn.php:18 inc/options/cdn/netdna.php:18 
    38213840msgid "Create pull zone:" 
    38223841msgstr "" 
    38233842 
    3824 #: inc/options/cdn/maxcdn.php:18 inc/options/cdn/maxcdn.php:20 
    3825 #: inc/options/cdn/netdna.php:18 inc/options/cdn/netdna.php:20 
     3843#: inc/options/cdn/maxcdn.php:18 inc/options/cdn/netdna.php:18 
    38263844msgid "Create new pull zone:" 
     3845msgstr "" 
     3846 
     3847#: inc/options/cdn/maxcdn.php:20 inc/options/cdn/netdna.php:20 
     3848msgid "Create pull zone" 
     3849msgstr "" 
     3850 
     3851#: inc/options/cdn/maxcdn.php:20 inc/options/cdn/netdna.php:20 
     3852msgid "Create new pull zone" 
    38273853msgstr "" 
    38283854 
     
    38483874 
    38493875#: inc/options/cdn/maxcdn.php:36 inc/options/cdn/netdna.php:36 
    3850 #: inc/widget/maxcdn_signup.php:13 lib/W3/Plugin/TotalCacheAdmin.php:1394 
     3876#: inc/widget/maxcdn_signup.php:13 inc/widget/netdna_signup.php:17 
     3877#: lib/W3/Plugin/TotalCacheAdmin.php:1394 
    38513878#: lib/W3/Plugin/TotalCacheAdmin.php:1414 
    38523879msgid "Authorization key" 
     
    47884815msgstr "" 
    47894816 
    4790 #: inc/widget/maxcdn_signup.php:17 
     4817#: inc/widget/maxcdn_signup.php:17 inc/widget/netdna_signup.php:21 
    47914818msgid "Save key" 
    47924819msgstr "" 
     
    53065333msgstr "" 
    53075334 
    5308 #: lib/W3/Plugin/MinifyAdmin.php:110 
     5335#: lib/W3/Plugin/MinifyAdmin.php:112 
    53095336#, php-format 
    53105337msgid "" 
  • w3-total-cache/trunk/lib/NetDNA/NetDNA.php

    r712783 r716406  
    55} 
    66 
    7 w3_require_once(W3TC_LIB_OAUTH_DIR . '/OAuth.php'); 
     7w3_require_once(W3TC_LIB_OAUTH_DIR . '/W3tcOAuth.php'); 
    88 
    99require_once("CurlException.php"); 
     
    3131        $this->key    = $key; 
    3232        $this->secret = $secret; 
    33         $consumer = new OAuthConsumer($key, $secret, NULL); 
     33        $consumer = new W3tcOAuthConsumer($key, $secret, NULL); 
    3434         
    3535    } 
    3636 
    3737    private function execute($selected_call, $method_type, $params) { 
    38         $consumer = new OAuthConsumer($this->key, $this->secret, NULL); 
     38        $consumer = new W3tcOAuthConsumer($this->key, $this->secret, NULL); 
    3939 
    4040        // the endpoint for your request 
     
    4949 
    5050        //generate a request from your consumer 
    51         $req_req = OAuthRequest::from_consumer_and_token($consumer, NULL, $method_type, $endpoint, $params); 
     51        $req_req = W3tcOAuthRequest::from_consumer_and_token($consumer, NULL, $method_type, $endpoint, $params); 
    5252 
    5353        //sign your OAuth request using hmac_sha1 
    54         $sig_method = new OAuthSignatureMethod_HMAC_SHA1(); 
     54        $sig_method = new W3tcOAuthSignatureMethod_HMAC_SHA1(); 
    5555        $req_req->sign_request($sig_method, $consumer, NULL); 
    5656 
     
    7070 
    7171        if ($method_type == "POST" || $method_type == "PUT" || $method_type == "DELETE") { 
    72             $query_str = OAuthUtil::build_http_query($params); 
     72            $query_str = W3tcOAuthUtil::build_http_query($params); 
    7373            curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:', 'Content-Length: ' . strlen($query_str))); 
    7474            curl_setopt($ch, CURLOPT_POSTFIELDS,  $query_str); 
  • w3-total-cache/trunk/lib/OAuth/OAuthClientBase.php

    r663605 r716406  
    6262     */ 
    6363    private function _get_auth_request_tokens(){ 
    64         $test_consumer = new OAuthConsumer($this->key, $this->secret, NULL); 
     64        $test_consumer = new W3tcOAuthConsumer($this->key, $this->secret, NULL); 
    6565 
    6666        //prepare to get request token 
    67         $sig_method = new OAuthSignatureMethod_HMAC_SHA1(); 
     67        $sig_method = new W3tcOAuthSignatureMethod_HMAC_SHA1(); 
    6868        $parsed = parse_url($this->request_token_url); 
    6969        $params = array('callback' => $this->base_url); 
     
    7272            parse_str($parsed['query'], $params); 
    7373 
    74         $req_req = OAuthRequest::from_consumer_and_token($test_consumer, NULL, "GET", W3TC_CDN_OAUTH_REQUEST_TOKEN_URL, $params); 
     74        $req_req = W3tcOAuthRequest::from_consumer_and_token($test_consumer, NULL, "GET", W3TC_CDN_OAUTH_REQUEST_TOKEN_URL, $params); 
    7575        $req_req->sign_request($sig_method, $test_consumer, NULL); 
    7676 
  • w3-total-cache/trunk/lib/OAuth/OAuthService.php

    r663605 r716406  
    1111     */ 
    1212    public static function get_oauth_client($type){ 
    13         require_once W3TC_LIB_OAUTH_DIR . '/OAuth.php'; 
     13        require_once W3TC_LIB_OAUTH_DIR . '/OAuthBase.php'; 
    1414        require_once W3TC_LIB_OAUTH_DIR . '/OAuthClientBase.php'; 
    15  
    1615        switch($type){ 
    17             case 'netdna': 
    18             case 'maxcdn': 
    19                 require_once W3TC_LIB_OAUTH_DIR . '/NetDNAOAuthClient.php'; 
    20                 $client = new NetDNAOAuthClient($type); 
    21                 break; 
    2216            default: 
    2317                throw new Exception('The provided CDN "' . $type . '" is not supported.'); 
    2418        } 
    25  
    26         return $client; 
    2719    } 
    2820} 
  • w3-total-cache/trunk/lib/W3/Cdn/Base.php

    r712783 r716406  
    150150                    break; 
    151151 
    152                 /** 
    153                  * Reserved JS in head 
    154                  */ 
    155                 case (isset($domains[1]) && $this->_is_js($path)): 
    156                     $domain = $domains[1]; 
    157                     break; 
    158152 
    159153                /** 
     
    169163                case (isset($domains[3]) && $this->_is_js_footer($path)): 
    170164                    $domain = $domains[3]; 
     165                    break; 
     166 
     167                /** 
     168                 * Reserved JS in head, moved here due to greedy regex 
     169                 */ 
     170                case (isset($domains[1]) && $this->_is_js($path)): 
     171                    $domain = $domains[1]; 
    171172                    break; 
    172173 
     
    504505     */ 
    505506    function _is_css($path) { 
    506         return preg_match('~[a-z0-9\-_]+\.include\.[0-9]+\.css$~', $path); 
     507        return preg_match('~[a-zA-Z0-9\-_]*(\.include\.[0-9]+)?\.css$~', $path); 
    507508    } 
    508509 
     
    514515     */ 
    515516    function _is_js($path) { 
    516         return preg_match('~[a-z0-9\-_]+\.include\.[a-z0-9]+\.js$~', $path); 
     517        return preg_match('~([a-z0-9\-_]+(\.include\.[a-z0-9]+)\.js)$~', $path) || 
     518        preg_match('~[\w\d\-_]+\.js~', $path); 
    517519    } 
    518520 
     
    524526     */ 
    525527    function _is_js_body($path) { 
    526         return preg_match('~[a-z0-9\-_]+\.include-body\.[a-z0-9]+\.js$~', $path); 
     528        return preg_match('~[a-z0-9\-_]+(\.include-body\.[a-z0-9]+)\.js$~', $path); 
    527529    } 
    528530 
     
    534536     */ 
    535537    function _is_js_footer($path) { 
    536         return preg_match('~[a-z0-9\-_]+\.include-footer\.[a-z0-9]+\.js$~', $path); 
     538        return preg_match('~[a-z0-9\-_]+(\.include-footer\.[a-z0-9]+)\.js$~', $path); 
    537539    } 
    538540 
  • w3-total-cache/trunk/lib/W3/ConfigKeys.php

    r712783 r716406  
    16861686        'default' => 150 
    16871687    ), 
     1688    'minify.auto.disable_filename_length_test' => array( 
     1689        'type' => 'boolean', 
     1690        'default' => false, 
     1691    ), 
    16881692    'common.instance_id' => array( 
    16891693        'type' => 'integer', 
  • w3-total-cache/trunk/lib/W3/Minify.php

    r712783 r716406  
    11001100     */ 
    11011101    private function _minify_path_replacements() { 
     1102        if (w3_is_network()) 
     1103            $theme = get_theme_root(); 
     1104        else 
     1105            $theme = get_stylesheet_directory(); 
     1106 
    11021107        return array( 
    1103             ltrim(str_replace(w3_get_document_root(), '', w3_path(get_theme_root())), '/'), 
     1108            ltrim(str_replace(w3_get_document_root(), '', w3_path($theme)), '/'), 
    11041109            ltrim(str_replace(w3_get_document_root(), '', w3_path(WP_PLUGIN_DIR)), '/'), 
    11051110            ltrim(str_replace(w3_get_document_root(), '', w3_path(WPMU_PLUGIN_DIR)), '/'), 
  • w3-total-cache/trunk/lib/W3/PgCache.php

    r712783 r716406  
    299299             * Append debug info 
    300300             */ 
    301             if ($this->_debug) { 
     301            if ($this->_debug && w3_can_print_comment($buffer)) { 
    302302                $time_total = w3_microtime() - $this->_time_start; 
    303303                $debug_info = $this->_get_debug_info(true, '', true, $time_total); 
     
    419419 
    420420                if ($raw) { 
    421                     if ($this->_debug) { 
     421                    if ($this->_debug && w3_can_print_comment($buffer)) { 
    422422                        /** 
    423423                         * Set page key for debug 
     
    442442                    } 
    443443                } 
    444             } elseif ($this->_debug) { 
     444            } elseif ($this->_debug && w3_can_print_comment($buffer)) { 
    445445                $mobile_group = $this->_get_mobile_group(); 
    446446                $referrer_group = $this->_get_referrer_group(); 
  • w3-total-cache/trunk/lib/W3/Plugin/MinifyAdmin.php

    r712783 r716406  
    1717    function run() { 
    1818 
    19         if (!is_network_admin() && $this->_config->get_boolean('minify.auto') && false === get_transient('w3tc_minify_tested_filename_length')) { 
    20             add_action('wp_ajax_w3tc_minify_disable_filename_test', array($this, 'disable_filename_test')); 
    21             add_action('wp_ajax_w3tc_minify_change_filename_length', array($this, 'change_filename_length')); 
    22             w3_require_once(W3TC_LIB_W3_DIR . '/Request.php'); 
     19        if (!$this->_config->get_boolean('minify.auto.disable_filename_length_test', false)) { 
     20            if (!is_network_admin() && $this->_config->get_boolean('minify.auto') && false === get_transient('w3tc_minify_tested_filename_length')) { 
     21                add_action('wp_ajax_w3tc_minify_disable_filename_test', array($this, 'disable_filename_test')); 
     22                add_action('wp_ajax_w3tc_minify_change_filename_length', array($this, 'change_filename_length')); 
     23                w3_require_once(W3TC_LIB_W3_DIR . '/Request.php'); 
    2324 
    24             $page = W3_Request::get_string('page'); 
    25             if (strpos($page, 'w3tc_') === 0) { 
    26                 add_action( 'admin_print_scripts', array($this, 'print_script'),10000); 
    27                 add_action( 'admin_print_scripts', array($this, 'print_test_once_script'),10000); 
     25                $page = W3_Request::get_string('page'); 
     26                if (strpos($page, 'w3tc_') === 0) { 
     27                    add_action( 'admin_print_scripts', array($this, 'print_script'),10000); 
     28                    add_action( 'admin_print_scripts', array($this, 'print_test_once_script'),10000); 
    2829 
    29                 add_action('admin_notices', array( 
    30                     &$this, 
    31                     'admin_notices_minify_auto_test' 
    32                 )); 
     30                    add_action('admin_notices', array( 
     31                        &$this, 
     32                        'admin_notices_minify_auto_test' 
     33                    )); 
     34                } 
    3335            } 
    3436        } 
  • w3-total-cache/trunk/lib/W3/Plugin/TotalCache.php

    r712783 r716406  
    548548        global $wpdb; 
    549549 
    550         if ($buffer != '' && w3_is_xml($buffer)) { 
     550        if ($buffer != '') { 
    551551            if (w3_is_database_error($buffer)) { 
    552552                status_header(503); 
    553             } else { 
     553            } elseif (w3_can_print_comment($buffer)) { 
    554554                /** 
    555555                 * Replace links for preview mode 
  • w3-total-cache/trunk/pub/js/options.js

    r712896 r716406  
    204204            jQuery('#minify_auto_error').html('<p>Minify Auto does not work properly. Try using Minify Manual instead ' + 
    205205                'or try another Minify cache method. You can also try a lower filename length value manually on ' + 
    206                 '<a href="admin.php?page=w3tc_minify#advanced">settings page</a></p>'); 
     206                '<a href="admin.php?page=w3tc_minify#advanced">settings page</a> by checking "Disable the Minify Auto automatic filename test" </p>'); 
    207207            return; 
    208208        } 
     
    757757    }); 
    758758 
     759    jQuery('#minify_auto_disable_filename_length_test').live('click', function() { 
     760        if(jQuery(this).attr('checked')) 
     761            jQuery('#minify_auto_filename_length').removeAttr('disabled'); 
     762        else 
     763            jQuery('#minify_auto_filename_length').attr('disabled','disabled'); 
     764    }); 
     765 
    759766    // CDN 
    760767    jQuery('.w3tc-tab').click(function() { 
  • w3-total-cache/trunk/readme.txt

    r712783 r716406  
    44Requires at least: 3.2 
    55Tested up to: 3.5.1 
    6 Stable tag: 0.9.2.10 
     6Stable tag: 0.9.2.11 
    77License: GPLv2 or later 
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    732732 
    733733== Changelog == 
     734 
     735= 0.9.2.11 = 
     736* Added option to disable the Minify Auto filename length test and specify manual value for hosting environments like Windows that require it 
     737* Fixed NetDNA / MaxCDN authorization key issues 
     738* Fixed OAuth name conflict for NetDNA / MaxCDN 
     739* Fixed CDN and CNAME replacement for minify URLs 
     740* Fixed WordPress sub-directory issue 
     741* Fixed handling of moved / renamed wp-content and plugin directory 
     742* Fixed Multisite issue when CDN is enabled and Minify is in auto mode and network-wide settings are applied 
     743* Fixed late init handling 
     744* Fixed handling of HTML debug comments being incorrectly inserted into documents 
     745* Improved minify auto file naming for single install 
     746* Improved page caching performance in NFS-based hosting environments 
     747 
    734748= 0.9.2.10 = 
    735749* Added NetDNA / MaxCDN dashboard widget 
     
    12851299== Upgrade Notice == 
    12861300 
     1301= 0.9.2.11 = 
     1302Thanks for using W3 Total Cache! As always, this update is very strongly recommended. This release includes various fixes for MaxCDN and minify users. As always there are general stability / compatibility improvements. Make sure to test in a sandbox or staging environment and report any issues via the bug submission form available on the support tab of the plugin. 
     1303 
    12871304= 0.9.2.10 = 
    12881305Thanks for using W3 Total Cache! As always, this update is very strongly recommended. This release includes performance improvements for every type of caching and numerous bug fixes and stability / compatbility improvements. Make sure to keep W3TC updated to ensure optimal reliability and security. 
  • w3-total-cache/trunk/w3-total-cache.php

    r712783 r716406  
    33Plugin Name: W3 Total Cache 
    44Description: The highest rated and most complete WordPress performance plugin. Dramatically improve the speed and user experience of your site. Add browser, page, object and database caching as well as minify and content delivery network (CDN) to WordPress. 
    5 Version: 0.9.2.10 
     5Version: 0.9.2.11 
    66Plugin URI: http://www.w3-edge.com/wordpress-plugins/w3-total-cache/ 
    77Author: Frederick Townes 
Note: See TracChangeset for help on using the changeset viewer.