Fast Velocity Minify - Version 2.8.8

Version Description

[2020.05.01] = * bug fixes for woocommerce, which could result in 403 errors when adding to cart under certain cases

Download this release

Release Info

Developer Alignak
Plugin Icon 128x128 Fast Velocity Minify
Version 2.8.8
Comparing to
See all releases

Code changes from version 2.8.7 to 2.8.8

Files changed (2) hide show
  1. fvm.php +2 -22
  2. readme.txt +4 -1
fvm.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://fastvelocity.com
5
  Description: Improve your speed score on GTmetrix, Pingdom Tools and Google PageSpeed Insights by merging and minifying CSS and JavaScript files into groups, compressing HTML and other speed optimizations.
6
  Author: Raul Peixoto
7
  Author URI: http://fastvelocity.com
8
- Version: 2.8.7
9
  License: GPL2
10
 
11
  ------------------------------------------------------------------------
@@ -1346,15 +1346,6 @@ for($i=0,$l=count($header);$i<$l;$i++) {
1346
  continue;
1347
  }
1348
 
1349
- # Add child data before anything else
1350
- if (!empty($wp_scripts->registered[$handle]->extra)){
1351
- if (!empty($wp_scripts->registered[$handle]->extra['data'])){
1352
- if(is_string($wp_scripts->registered[$handle]->extra['data'])) {
1353
- $code.= PHP_EOL . fastvelocity_try_catch_wrap($wp_scripts->registered[$handle]->extra['data']);
1354
- }
1355
- }
1356
- }
1357
-
1358
  # Add extra data from wp_add_inline_script before
1359
  if (!empty($wp_scripts->registered[$handle]->extra)){
1360
  if (isset($wp_scripts->registered[$handle]->extra['before'])){
@@ -1561,18 +1552,7 @@ for($i=0,$l=count($footer);$i<$l;$i++) {
1561
  if($res['status'] != true) {
1562
  $log.= $res['log'];
1563
  continue;
1564
- }
1565
-
1566
-
1567
- # Add child data before anything else
1568
- if (!empty($wp_scripts->registered[$handle]->extra)){
1569
- if (!empty($wp_scripts->registered[$handle]->extra['data'])){
1570
- if(is_string($wp_scripts->registered[$handle]->extra['data'])) {
1571
- $code.= PHP_EOL . fastvelocity_try_catch_wrap($wp_scripts->registered[$handle]->extra['data']);
1572
- }
1573
- }
1574
- }
1575
-
1576
 
1577
  # Add extra data from wp_add_inline_script before
1578
  if (!empty($wp_scripts->registered[$handle]->extra)){
5
  Description: Improve your speed score on GTmetrix, Pingdom Tools and Google PageSpeed Insights by merging and minifying CSS and JavaScript files into groups, compressing HTML and other speed optimizations.
6
  Author: Raul Peixoto
7
  Author URI: http://fastvelocity.com
8
+ Version: 2.8.8
9
  License: GPL2
10
 
11
  ------------------------------------------------------------------------
1346
  continue;
1347
  }
1348
 
 
 
 
 
 
 
 
 
 
1349
  # Add extra data from wp_add_inline_script before
1350
  if (!empty($wp_scripts->registered[$handle]->extra)){
1351
  if (isset($wp_scripts->registered[$handle]->extra['before'])){
1552
  if($res['status'] != true) {
1553
  $log.= $res['log'];
1554
  continue;
1555
+ }
 
 
 
 
 
 
 
 
 
 
 
1556
 
1557
  # Add extra data from wp_add_inline_script before
1558
  if (!empty($wp_scripts->registered[$handle]->extra)){
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Alignak
3
  Tags: PHP Minify, Lighthouse, GTmetrix, Pingdom, Pagespeed, CSS Merging, JS Merging, CSS Minification, JS Minification, Speed Optimization, HTML Minification, Performance, Optimization, FVM
4
  Requires at least: 4.7
5
  Requires PHP: 5.6
6
- Stable tag: 2.8.7
7
  Tested up to: 5.4
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -198,6 +198,9 @@ Please backup your site before updating. Version 3.0 will have a major code rewr
198
 
199
  == Changelog ==
200
 
 
 
 
201
  = 2.8.7 [2020.04.30] =
202
  * fixed the sourceMappingURL removal regex introduced on 2.8.3 for js files and css files
203
 
3
  Tags: PHP Minify, Lighthouse, GTmetrix, Pingdom, Pagespeed, CSS Merging, JS Merging, CSS Minification, JS Minification, Speed Optimization, HTML Minification, Performance, Optimization, FVM
4
  Requires at least: 4.7
5
  Requires PHP: 5.6
6
+ Stable tag: 2.8.8
7
  Tested up to: 5.4
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
198
 
199
  == Changelog ==
200
 
201
+ = 2.8.8 [2020.05.01] =
202
+ * bug fixes for woocommerce, which could result in 403 errors when adding to cart under certain cases
203
+
204
  = 2.8.7 [2020.04.30] =
205
  * fixed the sourceMappingURL removal regex introduced on 2.8.3 for js files and css files
206