Gravity Forms + Custom Post Types - Version 3.1.28

Version Description

  • Fixed potential PHP warning.
  • Updated "Tested up to" to WordPress 6.0.2.
Download this release

Release Info

Developer claygriffiths
Plugin Icon wp plugin Gravity Forms + Custom Post Types
Version 3.1.28
Comparing to
See all releases

Code changes from version 3.1.27 to 3.1.28

Files changed (3) hide show
  1. gfcptaddon.php +2 -2
  2. gfcptaddonbase.php +1 -1
  3. readme.txt +5 -1
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.27
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.27';
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.28
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.28';
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 {
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( $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
@@ -3,7 +3,7 @@ Contributors: spivurno,claygriffiths,bradvin,wpsmith
3
  Donate link: http://gravitywiz.com/
4
  Tags: form,forms,gravity,gravity form,gravity forms,CPT,custom post types,custom post type,taxonomy,taxonomies
5
  Requires at least: 3.0.1
6
- Tested up to: 5.9
7
  Stable tag: 3.1.16
8
 
9
  Map your Gravity-Forms-generated posts to a custom post type and/or custom taxonomies.
@@ -81,6 +81,10 @@ When populating a Drop Down field with a post type, you may wish to set the sele
81
 
82
  == Changelog ==
83
 
 
 
 
 
84
  = 3.1.27 =
85
  * Fixed an issue where term names were not displayed for multi-value fields like Checkboxes and Multi-selects in the Entry List and Entry Detail views.
86
 
3
  Donate link: http://gravitywiz.com/
4
  Tags: form,forms,gravity,gravity form,gravity forms,CPT,custom post types,custom post type,taxonomy,taxonomies
5
  Requires at least: 3.0.1
6
+ Tested up to: 6.0.2
7
  Stable tag: 3.1.16
8
 
9
  Map your Gravity-Forms-generated posts to a custom post type and/or custom taxonomies.
81
 
82
  == Changelog ==
83
 
84
+ = 3.1.28 =
85
+ * Fixed potential PHP warning.
86
+ * Updated "Tested up to" to WordPress 6.0.2.
87
+
88
  = 3.1.27 =
89
  * Fixed an issue where term names were not displayed for multi-value fields like Checkboxes and Multi-selects in the Entry List and Entry Detail views.
90