From: Anthony Talarico Date: Thu, 3 May 2018 20:19:48 +0000 (-0400) Subject: testing fix for the treasure trove form X-Git-Tag: v1.0.24^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=cf1dabee04710df1ad9fccac436bf0b5a6c7ee14;p=WP-Themes%2Fvisitbenzie.git testing fix for the treasure trove form changing gravity forms type checking in the submission filter to not be explicit --- 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 */