From cf1dabee04710df1ad9fccac436bf0b5a6c7ee14 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 3 May 2018 16:19:48 -0400 Subject: [PATCH] testing fix for the treasure trove form changing gravity forms type checking in the submission filter to not be explicit --- lib/plugins/gravityforms.php | 2 +- parts/header-meta.php | 2 +- style.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/plugins/gravityforms.php b/lib/plugins/gravityforms.php index 3bdd089..0da0d1e 100644 --- a/lib/plugins/gravityforms.php +++ b/lib/plugins/gravityforms.php @@ -100,7 +100,7 @@ new GWMapFieldToField(); add_action( 'gform_after_submission', 'set_post_content', 10, 2 ); function set_post_content( $entry, $form ) { // echo '
', print_r($entry), '
'; - if($form['id'] === 4 || $form['id'] === 6){ + if($form['id'] == 4 || $form['id'] == 6){ if ( $form['gfpdf_form_settings'] ){ // get the first array key from gravity forms pdf settings array diff --git a/parts/header-meta.php b/parts/header-meta.php index 051bad9..c2376b7 100644 --- a/parts/header-meta.php +++ b/parts/header-meta.php @@ -2,7 +2,7 @@ <?php wp_title(); ?> - + diff --git a/style.css b/style.css index 405cf3f..e53fb43 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: visitbenzie Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for Benzie Area Visitors Bureau -Version: 1.0.23 +Version: 1.0.24 */ -- 2.17.1