Fast Velocity Minify - Version 2.5.9

Version Description

Minor bug fixes

Download this release

Release Info

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

Code changes from version 2.5.8 to 2.5.9

Files changed (3) hide show
  1. fvm.php +2 -1
  2. inc/functions.php +6 -1
  3. readme.txt +7 -4
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.5.8
9
  License: GPL2
10
 
11
  ------------------------------------------------------------------------
@@ -1679,6 +1679,7 @@ $header = array();
1679
  $google_fonts = array();
1680
  $process = array();
1681
  $inline_css = array();
 
1682
 
1683
  # dequeue all styles
1684
  if($fvm_remove_css != false) {
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.5.9
9
  License: GPL2
10
 
11
  ------------------------------------------------------------------------
1679
  $google_fonts = array();
1680
  $process = array();
1681
  $inline_css = array();
1682
+ $log = '';
1683
 
1684
  # dequeue all styles
1685
  if($fvm_remove_css != false) {
inc/functions.php CHANGED
@@ -949,7 +949,7 @@ function fvm_safename($str, $noname=NULL) {
949
 
950
  # escape html tags for document.write
951
  function fastvelocity_escape_url_js($str) {
952
- return str_ireplace('\\"', '\"', json_encode(str_ireplace('"', '\"', $str)));
953
  }
954
 
955
 
@@ -1032,6 +1032,11 @@ function fastvelocity_download($url) {
1032
  }
1033
  }
1034
 
 
 
 
 
 
1035
  # stop here, error 4xx or 5xx
1036
  if($res_code[0] == '4' || $res_code[0] == '5') {
1037
  return false;
949
 
950
  # escape html tags for document.write
951
  function fastvelocity_escape_url_js($str) {
952
+ return str_ireplace(array('\\\\\"', '\\\\"', '\\\"', '\\"'), '\"', json_encode($str));
953
  }
954
 
955
 
1032
  }
1033
  }
1034
 
1035
+ # verify
1036
+ if(!isset($res_code) || empty($res_code) || $res_code == false || is_null($res_code)) {
1037
+ return false;
1038
+ }
1039
+
1040
  # stop here, error 4xx or 5xx
1041
  if($res_code[0] == '4' || $res_code[0] == '5') {
1042
  return false;
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: Alignak
3
  Tags: PHP Minify, Lighthouse, GTmetrix, Pingdom, Pagespeed, CSS Merging, JS Merging, CSS Minification, JS Minification, Speed Optimization, HTML Minification, Performance, Optimization, Speed, Fast
4
  Requires at least: 4.5
5
- Stable tag: 2.5.8
6
- Tested up to: 5.0.3
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -200,8 +200,8 @@ If you would like to donate any amount to the plugin author (thank you in advanc
200
 
201
  == Upgrade Notice ==
202
 
203
- = 2.5.6 =
204
- This is expected to be the last update on the 2.x branch, before the 3.0 major release
205
 
206
  = 3.0 =
207
  Please backup your site before updating. Version 3.0 will have a major code rewrite to improve JS and CSS merging.
@@ -209,6 +209,9 @@ Please backup your site before updating. Version 3.0 will have a major code rewr
209
 
210
  == Changelog ==
211
 
 
 
 
212
  = 2.5.8 [2019.02.06] =
213
  * minor bug fix with the defer for pagespeed option
214
 
2
  Contributors: Alignak
3
  Tags: PHP Minify, Lighthouse, GTmetrix, Pingdom, Pagespeed, CSS Merging, JS Merging, CSS Minification, JS Minification, Speed Optimization, HTML Minification, Performance, Optimization, Speed, Fast
4
  Requires at least: 4.5
5
+ Stable tag: 2.5.9
6
+ Tested up to: 5.1
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
200
 
201
  == Upgrade Notice ==
202
 
203
+ = 2.5.9 =
204
+ Minor bug fixes
205
 
206
  = 3.0 =
207
  Please backup your site before updating. Version 3.0 will have a major code rewrite to improve JS and CSS merging.
209
 
210
  == Changelog ==
211
 
212
+ = 2.5.9 [2019.02.19] =
213
+ * fixed some PHP notices, when wordpress fails to download a missing js/css file
214
+
215
  = 2.5.8 [2019.02.06] =
216
  * minor bug fix with the defer for pagespeed option
217