Version Description
April 10th, 2022 =
Fixed: Resolved PHP issues with PHP 7.x with the WPML integration. (@sc0ttkclark)
Download this release
Release Info
| Developer | sc0ttkclark |
| Plugin | |
| Version | 2.8.13 |
| Comparing to | |
| See all releases | |
Code changes from version 2.8.12 to 2.8.13
- init.php +2 -2
- readme.txt +5 -1
- src/Pods/Integrations/WPML.php +1 -1
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.13
|
| 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.13' );
|
| 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 |
|
|
@@ -156,6 +156,10 @@ Pods really wouldn't be where it is without all the contributions from our [dono
|
|
| 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)
|
| 5 |
Requires at least: 5.5
|
| 6 |
Tested up to: 5.9
|
| 7 |
Requires PHP: 5.6
|
| 8 |
+
Stable tag: 2.8.13
|
| 9 |
License: GPLv2 or later
|
| 10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 11 |
|
| 156 |
|
| 157 |
== Changelog ==
|
| 158 |
|
| 159 |
+
= 2.8.13 - April 10th, 2022 =
|
| 160 |
+
|
| 161 |
+
* Fixed: Resolved PHP issues with PHP 7.x with the WPML integration. (@sc0ttkclark)
|
| 162 |
+
|
| 163 |
= 2.8.12 - April 8th, 2022 =
|
| 164 |
|
| 165 |
* Fixed: Resolved PHP issues with PHP 7.x with the REST API endpoints. (@sc0ttkclark)
|
src/Pods/Integrations/WPML.php
CHANGED
|
@@ -16,7 +16,7 @@ class WPML extends Integration {
|
|
| 16 |
*/
|
| 17 |
protected $hooks = [
|
| 18 |
'action' => [
|
| 19 |
-
'wpml_language_has_switched'
|
| 20 |
],
|
| 21 |
'filter' => [
|
| 22 |
'pods_get_current_language' => [ 'pods_get_current_language', 10, 2 ],
|
| 16 |
*/
|
| 17 |
protected $hooks = [
|
| 18 |
'action' => [
|
| 19 |
+
'wpml_language_has_switched' => [ 'wpml_language_has_switched' ],
|
| 20 |
],
|
| 21 |
'filter' => [
|
| 22 |
'pods_get_current_language' => [ 'pods_get_current_language', 10, 2 ],
|
