Version Description
Download this release
Release Info
Developer | elenachavdarova |
Plugin | SG Optimizer |
Version | 7.2.4 |
Comparing to | |
See all releases |
Code changes from version 7.2.3 to 7.2.4
- core/Memcache/Memcache.php +5 -1
- readme.txt +5 -1
- sg-cachepress.php +2 -2
- vendor/pear.zip +0 -0
core/Memcache/Memcache.php
CHANGED
@@ -144,10 +144,14 @@ class Memcache {
|
|
144 |
// Remove crashed dropin.
|
145 |
@unlink( WP_CONTENT_DIR . '/object-cache-crashed.php' );
|
146 |
|
|
|
|
|
|
|
|
|
147 |
// The new object cache.
|
148 |
$new_object_cache = str_replace(
|
149 |
'SG_OPTIMIZER_CACHE_KEY_SALT',
|
150 |
-
str_replace( ' ', '', wp_generate_password( 64, true, true ) ),
|
151 |
file_get_contents( \SiteGround_Optimizer\DIR . '/templates/memcached.tpl' )
|
152 |
);
|
153 |
|
144 |
// Remove crashed dropin.
|
145 |
@unlink( WP_CONTENT_DIR . '/object-cache-crashed.php' );
|
146 |
|
147 |
+
if ( ! function_exists( 'wp_generate_password' ) ) {
|
148 |
+
require_once ABSPATH . '/wp-includes/pluggable.php';
|
149 |
+
}
|
150 |
+
|
151 |
// The new object cache.
|
152 |
$new_object_cache = str_replace(
|
153 |
'SG_OPTIMIZER_CACHE_KEY_SALT',
|
154 |
+
str_replace( ' ', '', \wp_generate_password( 64, true, true ) ),
|
155 |
file_get_contents( \SiteGround_Optimizer\DIR . '/templates/memcached.tpl' )
|
156 |
);
|
157 |
|
readme.txt
CHANGED
@@ -464,8 +464,12 @@ Our plugin uses a cookie in order to function properly. It does not store person
|
|
464 |
|
465 |
== Changelog ==
|
466 |
|
|
|
|
|
467 |
|
468 |
-
|
|
|
|
|
469 |
Release Date: October 11th, 2022
|
470 |
|
471 |
* Install Service fix
|
464 |
|
465 |
== Changelog ==
|
466 |
|
467 |
+
= Version 7.2.4 =
|
468 |
+
Release Date: October 11th, 2022
|
469 |
|
470 |
+
* Memcached Service bugfix
|
471 |
+
|
472 |
+
= Version 7.2.3 =
|
473 |
Release Date: October 11th, 2022
|
474 |
|
475 |
* Install Service fix
|
sg-cachepress.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* Plugin Name: SiteGround Optimizer
|
11 |
* Plugin URI: https://siteground.com
|
12 |
* Description: This plugin will link your WordPress application with all the performance optimizations provided by SiteGround
|
13 |
-
* Version: 7.2.
|
14 |
* Author: SiteGround
|
15 |
* Author URI: https://www.siteground.com
|
16 |
* Text Domain: sg-cachepress
|
@@ -32,7 +32,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
32 |
|
33 |
// Define version constant.
|
34 |
if ( ! defined( __NAMESPACE__ . '\VERSION' ) ) {
|
35 |
-
define( __NAMESPACE__ . '\VERSION', '7.2.
|
36 |
}
|
37 |
|
38 |
// Define slug constant.
|
10 |
* Plugin Name: SiteGround Optimizer
|
11 |
* Plugin URI: https://siteground.com
|
12 |
* Description: This plugin will link your WordPress application with all the performance optimizations provided by SiteGround
|
13 |
+
* Version: 7.2.4
|
14 |
* Author: SiteGround
|
15 |
* Author URI: https://www.siteground.com
|
16 |
* Text Domain: sg-cachepress
|
32 |
|
33 |
// Define version constant.
|
34 |
if ( ! defined( __NAMESPACE__ . '\VERSION' ) ) {
|
35 |
+
define( __NAMESPACE__ . '\VERSION', '7.2.4' );
|
36 |
}
|
37 |
|
38 |
// Define slug constant.
|
vendor/pear.zip
ADDED
Binary file
|