Pods – Custom Content Types and Fields - Version 2.9.10.1

Version Description

  • December 13th, 2022 =

  • Fixed: WP_Error class usage within namespace needed to be identified correctly for \Pods\Pod_Manager. (@lkraav, @sc0ttkclark)

Download this release

Release Info

Developer sc0ttkclark
Plugin Icon 128x128 Pods – Custom Content Types and Fields
Version 2.9.10.1
Comparing to
See all releases

Code changes from version 2.9.10 to 2.9.10.1

Files changed (4) hide show
  1. changelog.txt +17 -13
  2. init.php +2 -2
  3. readme.txt +5 -1
  4. src/Pods/Pod_Manager.php +1 -0
changelog.txt CHANGED
@@ -2,27 +2,31 @@ Found a bug? Have a great feature idea? Get on GitHub and tell us about it and w
2
 
3
  Our GitHub has the full list of all prior releases of Pods: https://github.com/pods-framework/pods/releases
4
 
5
- = 2.9.10 - November 17th, 2022 =
 
 
 
 
6
 
7
  * Performance: Major performance improvements have been made to decrease queries in more areas of Pods and reduce overall load on any page. (@sc0ttkclark)
 
 
 
 
 
8
  * Tweak: Added debug backtrace to DB query errors as an admin, just add `?pods_debug_backtrace=1` to the URL to enable that to find out more details about where the query came from. (@sc0ttkclark)
 
9
  * Fixed: Advanced filters modal shows empty input fields as expected now for Advanced Content Types. #6949 (@sc0ttkclark)
10
  * Fixed: Implemented `num_prefix` in `Pods::ui()` for more customization capabilities. (@sc0ttkclark)
11
  * Fixed: Reduce load on block editor screen for Pods Blocks that have no preview. (@sc0ttkclark)
12
  * Fixed: PHP 8.0+ compatibility changes have been made to bypass PHP deprecation notices. #6579 (@sc0ttkclark)
 
13
  * Fixed: Removed `%%%s%%` usage in prepared `LIKE` queries for PodsTermSplitting class. (@sc0ttkclark)
14
-
15
- = 2.9.9 - October 31st, 2022 =
16
-
17
- * Tweak: When a field has moved outside of a group, disallow deleting that group until the Pod has been saved to prevent those fields being removed/orphaned. #6940 #6937 (@zrothauser, @sc0ttkclark)
18
- * Tweak: When registering code-based fields, if you have a relationship field that you are supplying the `'data'` option for, you can now pass in a callable function (not a string or array due to back-compat) to return the options only when the data is needed instead of every page load. (@sc0ttkclark)
19
- * Fixed: Number and currency parsing issues resolved with HTML5 inputs. #6928 #6922 (@JoryHogeveen, @sc0ttkclark)
20
- * Fixed: Add support for `post_thumbnail._src` and `post_thumbnail._url` variations as fallbacks for the correct `post_thumbnail_src` and `post_thumbnail_url` field usage. #6935 (@sc0ttkclark)
21
- * Fixed: Resolve issues saving Pods Pages fields. #6942 (@sc0ttkclark)
22
- * Fixed: Number/currency simple repeatable fields now formats as expected. #6930 #6929 (@JoryHogeveen, @sc0ttkclark)
23
- * Fixed: Update cache group usage and flush to clear Pods post type storage cache options too. (@sc0ttkclark)
24
- * Fixed: Allow 0 as a valid option for relationship values.
25
- * Fixed: Updated compatibility with Custom Post Types UI migration component.
26
 
27
  = 2.9.8 - September 29th, 2022 =
28
 
2
 
3
  Our GitHub has the full list of all prior releases of Pods: https://github.com/pods-framework/pods/releases
4
 
5
+ = 2.9.10.1 - December 13th, 2022 =
6
+
7
+ * Fixed: WP_Error class usage within namespace needed to be identified correctly for `\Pods\Pod_Manager`. (@lkraav, @sc0ttkclark)
8
+
9
+ = 2.9.10 - December 13th, 2022 =
10
 
11
  * Performance: Major performance improvements have been made to decrease queries in more areas of Pods and reduce overall load on any page. (@sc0ttkclark)
12
+ * Added: New WP-CLI tool command: `wp pods tools delete-all-content <pod> [--test]` (@sc0ttkclark)
13
+ * Added: New WP-CLI tool command: `wp pods tools delete-all-groups-and-fields <pod> [--test]` (@sc0ttkclark)
14
+ * Added: New WP-CLI tool command: `wp pods tools delete-all-relationship-data <pod> [--fields] [--test]` (@sc0ttkclark)
15
+ * Added: New WP-CLI tool command: `wp pods tools repair-groups-and-fields <pod> [--test]` (@sc0ttkclark)
16
+ * Added: Pods Admin > Tools and Pod Resets can now be previewed before you run them. (@sc0ttkclark)
17
  * Tweak: Added debug backtrace to DB query errors as an admin, just add `?pods_debug_backtrace=1` to the URL to enable that to find out more details about where the query came from. (@sc0ttkclark)
18
+ * Tweak: Relationships related to a Post Type now have an option to specify "Any Status" as an option for which posts to show. (@sc0ttkclark)
19
  * Fixed: Advanced filters modal shows empty input fields as expected now for Advanced Content Types. #6949 (@sc0ttkclark)
20
  * Fixed: Implemented `num_prefix` in `Pods::ui()` for more customization capabilities. (@sc0ttkclark)
21
  * Fixed: Reduce load on block editor screen for Pods Blocks that have no preview. (@sc0ttkclark)
22
  * Fixed: PHP 8.0+ compatibility changes have been made to bypass PHP deprecation notices. #6579 (@sc0ttkclark)
23
+ * Fixed: All currently known PHP 8.0+ deprecation notices have been resolved. (@sc0ttkclark)
24
  * Fixed: Removed `%%%s%%` usage in prepared `LIKE` queries for PodsTermSplitting class. (@sc0ttkclark)
25
+ * Fixed: Pods Auto Templates now checks whether a post is password protected (and needs auth) before outputting the template. #6962 (@sc0ttkclark)
26
+ * Fixed: Excluded Pods config post types from deletion when post author is deleted. #6938 (@sc0ttkclark)
27
+ * Fixed: Settings values now get cached and cleared correctly between saves. #6964 (@sc0ttkclark)
28
+ * Fixed: Admin Columns integration no longer throws unaught type errors for field values that contain an array. #6965 #6966 (@therealgilles, @sc0ttkclark)
29
+ * Fixed: Block editor inspector controls for Pods Blocks that have dropdowns now show as full width as expected. (@sc0ttkclark)
 
 
 
 
 
 
 
30
 
31
  = 2.9.8 - September 29th, 2022 =
32
 
init.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: Pods - Custom Content Types and Fields
11
  * Plugin URI: https://pods.io/
12
  * Description: Pods is a framework for creating, managing, and deploying customized content types and fields
13
- * Version: 2.9.10
14
  * Author: Pods Framework Team
15
  * Author URI: https://pods.io/about/
16
  * Text Domain: pods
@@ -43,7 +43,7 @@ if ( defined( 'PODS_VERSION' ) || defined( 'PODS_DIR' ) ) {
43
  add_action( 'init', 'pods_deactivate_pods_ui' );
44
  } else {
45
  // Current version.
46
- define( 'PODS_VERSION', '2.9.10' );
47
 
48
  // Current database version, this is the last version the database changed.
49
  define( 'PODS_DB_VERSION', '2.3.5' );
10
  * Plugin Name: Pods - Custom Content Types and Fields
11
  * Plugin URI: https://pods.io/
12
  * Description: Pods is a framework for creating, managing, and deploying customized content types and fields
13
+ * Version: 2.9.10.1
14
  * Author: Pods Framework Team
15
  * Author URI: https://pods.io/about/
16
  * Text Domain: pods
43
  add_action( 'init', 'pods_deactivate_pods_ui' );
44
  } else {
45
  // Current version.
46
+ define( 'PODS_VERSION', '2.9.10.1' );
47
 
48
  // Current database version, this is the last version the database changed.
49
  define( 'PODS_DB_VERSION', '2.3.5' );
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: pods, custom post types, custom taxonomies, content types, custom fields,
5
  Requires at least: 5.7
6
  Tested up to: 6.1
7
  Requires PHP: 5.6
8
- Stable tag: 2.9.10
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -173,6 +173,10 @@ Pods really wouldn't be where it is without all the contributions from our [dono
173
 
174
  == Changelog ==
175
 
 
 
 
 
176
  = 2.9.10 - December 13th, 2022 =
177
 
178
  * Performance: Major performance improvements have been made to decrease queries in more areas of Pods and reduce overall load on any page. (@sc0ttkclark)
5
  Requires at least: 5.7
6
  Tested up to: 6.1
7
  Requires PHP: 5.6
8
+ Stable tag: 2.9.10.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
173
 
174
  == Changelog ==
175
 
176
+ = 2.9.10.1 - December 13th, 2022 =
177
+
178
+ * Fixed: WP_Error class usage within namespace needed to be identified correctly for `\Pods\Pod_Manager`. (@lkraav, @sc0ttkclark)
179
+
180
  = 2.9.10 - December 13th, 2022 =
181
 
182
  * Performance: Major performance improvements have been made to decrease queries in more areas of Pods and reduce overall load on any page. (@sc0ttkclark)
src/Pods/Pod_Manager.php CHANGED
@@ -3,6 +3,7 @@
3
  namespace Pods;
4
 
5
  use Pods;
 
6
 
7
  /**
8
  * Manage Pods instances for reuse.
3
  namespace Pods;
4
 
5
  use Pods;
6
+ use WP_Error;
7
 
8
  /**
9
  * Manage Pods instances for reuse.