Reduce HTTP Requests, Disable Emojis & Disable Embeds, Speedup WooCommerce - Version 1.6.1

Version Description

  • fix bug with paths to spam referrer
  • tested to WP 5.5
Download this release

Release Info

Developer pigeonhut
Plugin Icon 128x128 Reduce HTTP Requests, Disable Emojis & Disable Embeds, Speedup WooCommerce
Version 1.6.1
Comparing to
See all releases

Code changes from version 1.6.0 to 1.6.1

Files changed (3) hide show
  1. lib/class-wpperformance.php +1 -4
  2. readme.txt +4 -0
  3. wpperformance.php +1 -1
lib/class-wpperformance.php CHANGED
@@ -941,24 +941,21 @@ class WpPerformance {
941
 
942
  if( false === $ret ){
943
 
944
- $response = wp_remote_get('http://wielo.co/referrer-spam.php');
945
 
946
  if ($response instanceof WP_Error) {
947
- error_log('Unable to get referrals spam blacklist: ' . $response->get_error_message());
948
  return;
949
  }
950
 
951
  $ret = $response['body'];
952
 
953
  if (empty($ret)) {
954
- error_log('Invalid referrals spam blacklist response');
955
  return;
956
  }
957
 
958
  $ret = json_decode($ret, true);
959
 
960
  if (null === $ret) {
961
- error_log('Invalid referrals spam blacklist data');
962
  return;
963
  }
964
 
941
 
942
  if( false === $ret ){
943
 
944
+ $response = wp_remote_get('https://srs.wielo.co/blacklist.json');
945
 
946
  if ($response instanceof WP_Error) {
 
947
  return;
948
  }
949
 
950
  $ret = $response['body'];
951
 
952
  if (empty($ret)) {
 
953
  return;
954
  }
955
 
956
  $ret = json_decode($ret, true);
957
 
958
  if (null === $ret) {
 
959
  return;
960
  }
961
 
readme.txt CHANGED
@@ -81,6 +81,10 @@ You can try our <a href="https://wordpress.org/plugins/wp-image-compression/">Fr
81
 
82
 
83
  == Changelog ==
 
 
 
 
84
  = 1.6.0 =
85
  * tested upto php 7.4
86
  * tested with WP 5.3
81
 
82
 
83
  == Changelog ==
84
+ = 1.6.1 =
85
+ * fix bug with paths to spam referrer
86
+ * tested to WP 5.5
87
+
88
  = 1.6.0 =
89
  * tested upto php 7.4
90
  * tested with WP 5.3
wpperformance.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Improve WordPress performance by disabling unused items. <a href="admin.php?page=optimisationio-dashboard">Open Settings</a>
6
  * Author: optimisation.io - jody nesbitt
7
  * Author URI:https://optimisation.io
8
- * Version: 1.6.0
9
  *
10
  * Copyright (C) 2017-2018 Optimisation.io
11
  */
5
  * Description: Improve WordPress performance by disabling unused items. <a href="admin.php?page=optimisationio-dashboard">Open Settings</a>
6
  * Author: optimisation.io - jody nesbitt
7
  * Author URI:https://optimisation.io
8
+ * Version: 1.6.1
9
  *
10
  * Copyright (C) 2017-2018 Optimisation.io
11
  */