Fast Velocity Minify - Version 3.1.2

Version Description

[2021.01.09] = * Fixed a PHP notice on wp-admin

Download this release

Release Info

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

Code changes from version 3.1.1 to 3.1.2

Files changed (3) hide show
  1. fvm.php +1 -1
  2. inc/frontend.php +2 -2
  3. readme.txt +4 -1
fvm.php CHANGED
@@ -6,7 +6,7 @@ Description: Improve your speed score on GTmetrix, Pingdom Tools and Google Page
6
  Author: Raul Peixoto
7
  Author URI: http://fastvelocity.com
8
  Text Domain: fast-velocity-minify
9
- Version: 3.1.1
10
  License: GPL2
11
 
12
  ------------------------------------------------------------------------
6
  Author: Raul Peixoto
7
  Author URI: http://fastvelocity.com
8
  Text Domain: fast-velocity-minify
9
+ Version: 3.1.2
10
  License: GPL2
11
 
12
  ------------------------------------------------------------------------
inc/frontend.php CHANGED
@@ -73,7 +73,7 @@ function fvm_process_page($html) {
73
 
74
  # collect all link preload headers
75
  $allpreloads = array();
76
- foreach($html->find('link[rel=preload]') as $element) {
77
 
78
  # normal importance by default
79
  $importance = 'normal';
@@ -87,7 +87,7 @@ function fvm_process_page($html) {
87
  }
88
 
89
  # collect, group by importance and remove
90
- $allpreloads[$importance][] = $element->outertext;
91
  $tag->outertext = '';
92
  }
93
 
73
 
74
  # collect all link preload headers
75
  $allpreloads = array();
76
+ foreach($html->find('link[rel=preload]') as $tag) {
77
 
78
  # normal importance by default
79
  $importance = 'normal';
87
  }
88
 
89
  # collect, group by importance and remove
90
+ $allpreloads[$importance][] = $tag->outertext;
91
  $tag->outertext = '';
92
  }
93
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Alignak
3
  Tags: PHP Minify, Lighthouse, GTmetrix, Pingdom, Pagespeed, Merging, Minification, Optimization, Speed, Performance, FVM
4
  Requires at least: 4.7
5
  Requires PHP: 5.6
6
- Stable tag: 3.1.1
7
  Tested up to: 5.6
8
  Text Domain: fast-velocity-minify
9
  License: GPLv3 or later
@@ -55,6 +55,9 @@ Version 3.0 is a major code rewrite to improve JS and CSS merging, but it requir
55
 
56
  == Changelog ==
57
 
 
 
 
58
  = 3.1.1 [2021.01.09] =
59
  * Added option to disable preload header
60
  * Added support for the preload header importance attribute
3
  Tags: PHP Minify, Lighthouse, GTmetrix, Pingdom, Pagespeed, Merging, Minification, Optimization, Speed, Performance, FVM
4
  Requires at least: 4.7
5
  Requires PHP: 5.6
6
+ Stable tag: 3.1.2
7
  Tested up to: 5.6
8
  Text Domain: fast-velocity-minify
9
  License: GPLv3 or later
55
 
56
  == Changelog ==
57
 
58
+ = 3.1.2 [2021.01.09] =
59
+ * Fixed a PHP notice on wp-admin
60
+
61
  = 3.1.1 [2021.01.09] =
62
  * Added option to disable preload header
63
  * Added support for the preload header importance attribute