Version Description
Download this release
Release Info
Developer | elenachavdarova |
Plugin | SG Optimizer |
Version | 7.2.9 |
Comparing to | |
See all releases |
Code changes from version 7.2.8 to 7.2.9
- core/Helper/File_Cacher_Trait.php +5 -0
- readme.txt +5 -0
- sg-cachepress.php +2 -2
core/Helper/File_Cacher_Trait.php
CHANGED
@@ -214,6 +214,11 @@ trait File_Cacher_Trait {
|
|
214 |
* @return boolean True if nocache headers exist, false otherwise.
|
215 |
*/
|
216 |
public function has_nocache_headers() {
|
|
|
|
|
|
|
|
|
|
|
217 |
// Define the ignore cache headers.
|
218 |
$ignore_headers = apply_filters(
|
219 |
'sgo_file_cache_ignore_headers',
|
214 |
* @return boolean True if nocache headers exist, false otherwise.
|
215 |
*/
|
216 |
public function has_nocache_headers() {
|
217 |
+
// Bail if the method is not supported.
|
218 |
+
if ( ! function_exists( 'apache_response_headers' ) ) {
|
219 |
+
return false;
|
220 |
+
}
|
221 |
+
|
222 |
// Define the ignore cache headers.
|
223 |
$ignore_headers = apply_filters(
|
224 |
'sgo_file_cache_ignore_headers',
|
readme.txt
CHANGED
@@ -464,6 +464,11 @@ Our plugin uses a cookie in order to function properly. It does not store person
|
|
464 |
|
465 |
== Changelog ==
|
466 |
|
|
|
|
|
|
|
|
|
|
|
467 |
= Version 7.2.8 =
|
468 |
Release Date: Dec 1st, 2022
|
469 |
|
464 |
|
465 |
== Changelog ==
|
466 |
|
467 |
+
= Version 7.2.9 =
|
468 |
+
Release Date: Dec 2nd, 2022
|
469 |
+
|
470 |
+
* Fix for missing apache_response_headers function.
|
471 |
+
|
472 |
= Version 7.2.8 =
|
473 |
Release Date: Dec 1st, 2022
|
474 |
|
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.9
|
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.9' );
|
36 |
}
|
37 |
|
38 |
// Define slug constant.
|