diff --git a/changelog.txt b/changelog.txt index 20fd62d649..61b8f04cca 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,10 @@ Found a bug? Have a great feature idea? Get on GitHub and tell us about it and w Our GitHub has the full list of all prior releases of Pods: https://github.com/pods-framework/pods/releases += 2.9.19 - June 28th, 2023 = + +* Fixed: Ensure that cache modes are validated correctly to prevent transients / static cache / etc from being forced into persistent cache which could fill caches up. (@sc0ttkclark, props to Björn Hasselberg for helping debug and find this) + = 2.9.18 - June 23rd, 2023 = * Tweak: Abstract all container calls for Tribe Common library to Pods specific functions. (@sc0ttkclark) diff --git a/classes/PodsView.php b/classes/PodsView.php index d03aed98d1..155e8d4551 100644 --- a/classes/PodsView.php +++ b/classes/PodsView.php @@ -693,7 +693,7 @@ public static function is_cache_mode_valid( $cache_mode ) { return ( $cache_mode && is_string( $cache_mode ) - && ! isset( self::$cache_modes[ $cache_mode ] ) + && isset( self::$cache_modes[ $cache_mode ] ) ); } diff --git a/init.php b/init.php index d11c7f811e..3857b2d355 100644 --- a/init.php +++ b/init.php @@ -10,7 +10,7 @@ * Plugin Name: Pods - Custom Content Types and Fields * Plugin URI: https://pods.io/ * Description: Pods is a framework for creating, managing, and deploying customized content types and fields - * Version: 2.9.18 + * Version: 2.9.19 * Author: Pods Framework Team * Author URI: https://pods.io/about/ * Text Domain: pods @@ -43,9 +43,9 @@ add_action( 'init', 'pods_deactivate_pods_ui' ); } else { // Current version. - define( 'PODS_VERSION', '2.9.18' ); + define( 'PODS_VERSION', '2.9.19' ); - // Current database version, this is the last version the database changed. + // Current database version, this is the last version we had a database migration added in the /sql/ directory. define( 'PODS_DB_VERSION', '2.3.5' ); /** diff --git a/package.json b/package.json index 308cda55d2..e063aa6a9d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pods", - "version": "2.9.18", + "version": "2.9.19", "description": "Pods is a development framework for creating, extending, managing, and deploying customized content types in WordPress.", "author": "Pods Foundation, Inc", "homepage": "https://pods.io/", diff --git a/readme.txt b/readme.txt index 7c536430b8..3dbf5bc8c2 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: pods, custom post types, custom taxonomies, content types, custom fields, Requires at least: 5.7 Tested up to: 6.2 Requires PHP: 5.6 -Stable tag: 2.9.18 +Stable tag: 2.9.19 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -175,6 +175,10 @@ Pods really wouldn't be where it is without all the contributions from our [dono == Changelog == += 2.9.19 - June 28th, 2023 = + +* Fixed: Ensure that cache modes are validated correctly to prevent transients / static cache / etc from being forced into persistent cache which could fill caches up. (@sc0ttkclark, props to Björn Hasselberg for helping debug and find this) + = 2.9.18 - June 23rd, 2023 = * Tweak: Abstract all container calls for Tribe Common library to Pods specific functions. (@sc0ttkclark)