Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: khoipro, codetot
Donate link: https://codetot.com
Tags: optimization, compress, settings, codetot
Requires at least: 5.0
Tested up to: 6.6
Stable tag: 1.1.1
Tested up to: 6.8
Stable tag: 1.2.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -77,6 +77,12 @@ Yes, if you are using our themes.

== Changelog ==

= 1.2.0 =
* PHP 8.2-8.4 compatibility: fix missing property declaration in Gravity Forms class
* Fix manifest option key mismatch (disable_manifest → disable_wlw_manifest)
* Bump minimum PHP requirement to 7.4
* Tested up to WordPress 6.8

= 1.1.1 =
* Fix PHP 8.1+ deprecation warnings for null/false passed to strip_tags() and strtotime()
* Fix parse_url() return value not checked in get_domain_from_url()
Expand Down
6 changes: 3 additions & 3 deletions codetot-optimization.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Plugin Name: CT Optimization
* Plugin URI: https://codetot.com
* Description: Provides settings for enable/disable WordPress core features and some tweaks for ACF, Gravity Forms, such like Enable CDN, Lazyload assets.
* Version: 1.1.1
* Version: 1.2.0
* Requires at least: 5.0
* Requires PHP: 7.3
* Requires PHP: 7.4
* Author: CODE TOT JSC
* Author URI: https://codetot.com
* License: GPL-2.0+
Expand All @@ -24,7 +24,7 @@
die;
}

define( 'CODETOT_OPTIMIZATION_VERSION', '1.1.1' );
define( 'CODETOT_OPTIMIZATION_VERSION', '1.2.0' );
define( 'CODETOT_OPTIMIZATION_PATH', plugin_dir_path(__FILE__) );
define( 'CODETOT_OPTIMIZATION_URL', plugin_dir_url(__FILE__) );

Expand Down
7 changes: 7 additions & 0 deletions includes/class-codetot-optimization-gravity-forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ class Codetot_Optimization_Gravity_Forms
*/
private static $instance;

/**
* Plugin options.
*
* @var array
*/
private $options;

/**
* Get singleton instance.
*
Expand Down
2 changes: 1 addition & 1 deletion includes/class-codetot-optimization-process.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public function check_short_link()

public function check_manifest()
{
if (!empty($this->options['disable_manifest'])) {
if (!empty($this->options['disable_wlw_manifest'])) {
remove_action('wp_head', 'wlwmanifest_link');
}
}
Expand Down
Loading