W3 Total Cache - Version 0.14.1

Version Description

  • Fixed CSS minify URL rewrite logic that affected some lazy loading and CSS URL addresses using protocols
Download this release

Release Info

Developer joemoto
Plugin Icon 128x128 W3 Total Cache
Version 0.14.1
Comparing to
See all releases

Code changes from version 0.14.0 to 0.14.1

lib/Minify/Minify/CSS/UriRewriter.php CHANGED
@@ -377,7 +377,8 @@ class Minify_CSS_UriRewriter {
377
  }
378
  // analyze URI
379
  if ( !empty($uri)
380
- && '/' !== substr($uri, 0, 1) // Root-relative (/) and protocol/non-data (//).
 
381
  && 'data:' !== substr( $uri, 0, 5 ) // Data protocol.
382
  && '%' !== substr( $uri, 0, 1 ) // URL-encoded entity.
383
  && '#' !== substr( $uri, 0, 1 ) // URL fragment.
377
  }
378
  // analyze URI
379
  if ( !empty($uri)
380
+ && '/' !== substr($uri, 0, 1) // Root-relative (/).
381
+ && false === strpos( $uri, '//' ) // Protocol/non-data (//).
382
  && 'data:' !== substr( $uri, 0, 5 ) // Data protocol.
383
  && '%' !== substr( $uri, 0, 1 ) // URL-encoded entity.
384
  && '#' !== substr( $uri, 0, 1 ) // URL fragment.
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: boldgrid, fredericktownes, maxicusc, gidomanders, bwmarkle, harryj
3
  Tags: seo, cache, optimize, pagespeed, performance, caching, compression, maxcdn, nginx, varnish, redis, new relic, aws, amazon web services, s3, cloudfront, rackspace, cloudflare, azure, apache
4
  Requires at least: 3.2
5
  Tested up to: 5.4
6
- Stable tag: 0.14.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -275,6 +275,9 @@ Please reach out to all of these people and support their projects if you're so
275
 
276
  == Changelog ==
277
 
 
 
 
278
  = 0.14.0 =
279
  * Added lazy loading for Google Maps
280
  * Added a filter w3tc_minify_css_content for minified contents
3
  Tags: seo, cache, optimize, pagespeed, performance, caching, compression, maxcdn, nginx, varnish, redis, new relic, aws, amazon web services, s3, cloudfront, rackspace, cloudflare, azure, apache
4
  Requires at least: 3.2
5
  Tested up to: 5.4
6
+ Stable tag: 0.14.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
275
 
276
  == Changelog ==
277
 
278
+ = 0.14.1 =
279
+ * Fixed CSS minify URL rewrite logic that affected some lazy loading and CSS URL addresses using protocols
280
+
281
  = 0.14.0 =
282
  * Added lazy loading for Google Maps
283
  * Added a filter w3tc_minify_css_content for minified contents
w3-total-cache-api.php CHANGED
@@ -5,7 +5,7 @@ if ( !defined( 'ABSPATH' ) ) {
5
  }
6
 
7
  define( 'W3TC', true );
8
- define( 'W3TC_VERSION', '0.14.0' );
9
  define( 'W3TC_POWERED_BY', 'W3 Total Cache' );
10
  define( 'W3TC_EMAIL', 'w3tc@w3-edge.com' );
11
  define( 'W3TC_TEXT_DOMAIN', 'w3-total-cache' );
5
  }
6
 
7
  define( 'W3TC', true );
8
+ define( 'W3TC_VERSION', '0.14.1' );
9
  define( 'W3TC_POWERED_BY', 'W3 Total Cache' );
10
  define( 'W3TC_EMAIL', 'w3tc@w3-edge.com' );
11
  define( 'W3TC_TEXT_DOMAIN', 'w3-total-cache' );
w3-total-cache.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: W3 Total Cache
4
  Description: 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.14.0
6
  Plugin URI: https://www.boldgrid.com/totalcache/
7
  Author: BoldGrid
8
  Author URI: https://www.boldgrid.com/
2
  /*
3
  Plugin Name: W3 Total Cache
4
  Description: 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.14.1
6
  Plugin URI: https://www.boldgrid.com/totalcache/
7
  Author: BoldGrid
8
  Author URI: https://www.boldgrid.com/