Version Description
April 8th, 2022 =
Fixed: Resolved PHP issues with PHP 7.x with the REST API endpoints. (@sc0ttkclark)
Fixed: Fix Auto Template logic for detecting taxonomy archives to get the correct pod name from the associated term. #6368 #6490 (@JoryHogeveen)
Download this release
Release Info
Developer | sc0ttkclark |
Plugin | Pods – Custom Content Types and Fields |
Version | 2.8.12 |
Comparing to | |
See all releases |
Code changes from version 2.8.11 to 2.8.12
components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Front_End.php
CHANGED
@@ -67,7 +67,7 @@ class Pods_Templates_Auto_Template_Front_End {
|
|
67 |
$pod = $obj->post_type;
|
68 |
break;
|
69 |
case $obj instanceof WP_Term:
|
70 |
-
$pod = $obj->
|
71 |
break;
|
72 |
case $obj instanceof WP_User:
|
73 |
$pod = 'user';
|
67 |
$pod = $obj->post_type;
|
68 |
break;
|
69 |
case $obj instanceof WP_Term:
|
70 |
+
$pod = $obj->taxonomy;
|
71 |
break;
|
72 |
case $obj instanceof WP_User:
|
73 |
$pod = 'user';
|
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.8.
|
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.8.
|
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.8.12
|
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.8.12' );
|
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.5
|
6 |
Tested up to: 5.9
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.8.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -41,7 +41,7 @@ With Pods, you can create entirely new content types and settings pages.
|
|
41 |
|
42 |
= Every Field Type, FREE =
|
43 |
|
44 |
-
If you choose to use Pods for your custom fields, you'll get every field type you need, free of charge. Pods works great alongside [other custom field plugins](https://comparewp.org/cck) like [https://wordpress.org/plugins/advanced-custom-fields/
|
45 |
|
46 |
We have an extensive collection of over [25 different input types to choose from on 20+ different field types for any content structure](https://docs.pods.io/fields/). Each field type comes with their own additional options to help you customize content entry and display.
|
47 |
|
@@ -156,6 +156,11 @@ Pods really wouldn't be where it is without all the contributions from our [dono
|
|
156 |
|
157 |
== Changelog ==
|
158 |
|
|
|
|
|
|
|
|
|
|
|
159 |
= 2.8.11 - April 8th, 2022 =
|
160 |
|
161 |
* Added: You can now enable types-only mode for Pods under Pods Admin > Settings. This new mode will disallow adding and managing custom groups/fields. You can force it on by defining `PODS_META_TYPES_ONLY` as true in your wp-config.php too. #6437 (@sc0ttkclark)
|
5 |
Requires at least: 5.5
|
6 |
Tested up to: 5.9
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.8.12
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
41 |
|
42 |
= Every Field Type, FREE =
|
43 |
|
44 |
+
If you choose to use Pods for your custom fields, you'll get every field type you need, free of charge. Pods works great alongside [other custom field plugins](https://comparewp.org/cck) like [Advanced Custom Fields](https://wordpress.org/plugins/advanced-custom-fields/) too.
|
45 |
|
46 |
We have an extensive collection of over [25 different input types to choose from on 20+ different field types for any content structure](https://docs.pods.io/fields/). Each field type comes with their own additional options to help you customize content entry and display.
|
47 |
|
156 |
|
157 |
== Changelog ==
|
158 |
|
159 |
+
= 2.8.12 - April 8th, 2022 =
|
160 |
+
|
161 |
+
* Fixed: Resolved PHP issues with PHP 7.x with the REST API endpoints. (@sc0ttkclark)
|
162 |
+
* Fixed: Fix Auto Template logic for detecting taxonomy archives to get the correct pod name from the associated term. #6368 #6490 (@JoryHogeveen)
|
163 |
+
|
164 |
= 2.8.11 - April 8th, 2022 =
|
165 |
|
166 |
* Added: You can now enable types-only mode for Pods under Pods Admin > Settings. This new mode will disallow adding and managing custom groups/fields. You can force it on by defining `PODS_META_TYPES_ONLY` as true in your wp-config.php too. #6437 (@sc0ttkclark)
|
src/Pods/REST/V1/Endpoints/Base.php
CHANGED
@@ -793,7 +793,7 @@ abstract class Base {
|
|
793 |
$doc_endpoint_obj = tribe( 'pods.rest-v1.endpoints.documentation' );
|
794 |
|
795 |
$doc_endpoint_obj->register_documentation_provider( $rest_doc_route, $this );
|
796 |
-
} catch (
|
797 |
// Do nothing.
|
798 |
}
|
799 |
}
|
793 |
$doc_endpoint_obj = tribe( 'pods.rest-v1.endpoints.documentation' );
|
794 |
|
795 |
$doc_endpoint_obj->register_documentation_provider( $rest_doc_route, $this );
|
796 |
+
} catch ( Exception $exception ) {
|
797 |
// Do nothing.
|
798 |
}
|
799 |
}
|
src/Pods/REST/V1/Service_Provider.php
CHANGED
@@ -2,8 +2,7 @@
|
|
2 |
|
3 |
namespace Pods\REST\V1;
|
4 |
|
5 |
-
use
|
6 |
-
use ReflectionException;
|
7 |
use Pods\REST\V1\Endpoints\Field;
|
8 |
use Pods\REST\V1\Endpoints\Field_Slug;
|
9 |
use Pods\REST\V1\Endpoints\Fields;
|
@@ -114,7 +113,7 @@ class Service_Provider extends \tad_DI52_ServiceProvider {
|
|
114 |
if ( method_exists( $endpoint_obj, 'register_routes' ) ) {
|
115 |
$endpoint_obj->register_routes( $this->namespace, true );
|
116 |
}
|
117 |
-
} catch (
|
118 |
// Do nothing.
|
119 |
}
|
120 |
}
|
2 |
|
3 |
namespace Pods\REST\V1;
|
4 |
|
5 |
+
use Exception;
|
|
|
6 |
use Pods\REST\V1\Endpoints\Field;
|
7 |
use Pods\REST\V1\Endpoints\Field_Slug;
|
8 |
use Pods\REST\V1\Endpoints\Fields;
|
113 |
if ( method_exists( $endpoint_obj, 'register_routes' ) ) {
|
114 |
$endpoint_obj->register_routes( $this->namespace, true );
|
115 |
}
|
116 |
+
} catch ( Exception $exception ) {
|
117 |
// Do nothing.
|
118 |
}
|
119 |
}
|