Version Description
- Fixed PHP warning.
Download this release
Release Info
Developer | claygriffiths |
Plugin | Gravity Forms + Custom Post Types |
Version | 3.1.29 |
Comparing to | |
See all releases |
Code changes from version 3.1.28 to 3.1.29
- gfcptaddon.php +2 -2
- gfcptaddonbase.php +1 -1
- readme.txt +3 -0
gfcptaddon.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Gravity Forms + Custom Post Types
|
4 |
Plugin URI: https://gravitywiz.com/
|
5 |
Description: Map your Gravity-Forms-generated posts to a custom post type and/or custom taxonomies.
|
6 |
-
Version: 3.1.
|
7 |
Author: Gravity Wiz
|
8 |
Author URI: https://gravitywiz.com/
|
9 |
License: GPL2
|
@@ -16,7 +16,7 @@ class GFCPTAddon {
|
|
16 |
|
17 |
private static $name = 'Gravity Forms + Custom Post Types';
|
18 |
private static $slug = 'GFCPTAddon';
|
19 |
-
private static $version = '3.1.
|
20 |
private static $min_gravityforms_version = '1.9.3';
|
21 |
|
22 |
//Plugin starting point. Will load appropriate files
|
3 |
Plugin Name: Gravity Forms + Custom Post Types
|
4 |
Plugin URI: https://gravitywiz.com/
|
5 |
Description: Map your Gravity-Forms-generated posts to a custom post type and/or custom taxonomies.
|
6 |
+
Version: 3.1.29
|
7 |
Author: Gravity Wiz
|
8 |
Author URI: https://gravitywiz.com/
|
9 |
License: GPL2
|
16 |
|
17 |
private static $name = 'Gravity Forms + Custom Post Types';
|
18 |
private static $slug = 'GFCPTAddon';
|
19 |
+
private static $version = '3.1.29';
|
20 |
private static $min_gravityforms_version = '1.9.3';
|
21 |
|
22 |
//Plugin starting point. Will load appropriate files
|
gfcptaddonbase.php
CHANGED
@@ -184,7 +184,7 @@ if ( ! class_exists( 'GFCPTAddonBase' ) ) {
|
|
184 |
if ( $form_or_field->get_input_type() == 'text' && $form_or_field->saveToTaxonomy && $form_or_field->taxonomyEnhanced ) {
|
185 |
return true;
|
186 |
}
|
187 |
-
} else if ( is_array( $form_or_field, 'fields' ) ) {
|
188 |
foreach ( $form_or_field['fields'] as $field ) {
|
189 |
if ( $this->has_tax_enhanced_ui( $field ) ) {
|
190 |
return true;
|
184 |
if ( $form_or_field->get_input_type() == 'text' && $form_or_field->saveToTaxonomy && $form_or_field->taxonomyEnhanced ) {
|
185 |
return true;
|
186 |
}
|
187 |
+
} else if ( is_array( rgar( $form_or_field, 'fields' ) ) ) {
|
188 |
foreach ( $form_or_field['fields'] as $field ) {
|
189 |
if ( $this->has_tax_enhanced_ui( $field ) ) {
|
190 |
return true;
|
readme.txt
CHANGED
@@ -81,6 +81,9 @@ When populating a Drop Down field with a post type, you may wish to set the sele
|
|
81 |
|
82 |
== Changelog ==
|
83 |
|
|
|
|
|
|
|
84 |
= 3.1.28 =
|
85 |
* Fixed potential PHP warning.
|
86 |
* Updated "Tested up to" to WordPress 6.0.2.
|
81 |
|
82 |
== Changelog ==
|
83 |
|
84 |
+
= 3.1.29 =
|
85 |
+
* Fixed PHP warning.
|
86 |
+
|
87 |
= 3.1.28 =
|
88 |
* Fixed potential PHP warning.
|
89 |
* Updated "Tested up to" to WordPress 6.0.2.
|