testing fix for the treasure trove form
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 3 May 2018 20:19:48 +0000 (16:19 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 3 May 2018 20:19:48 +0000 (16:19 -0400)
changing gravity forms type checking in the submission filter to not be explicit

lib/plugins/gravityforms.php
parts/header-meta.php
style.css

index 3bdd089..0da0d1e 100644 (file)
@@ -100,7 +100,7 @@ new GWMapFieldToField();
 add_action( 'gform_after_submission', 'set_post_content', 10, 2 );
 function set_post_content( $entry, $form ) {
 //    echo '<pre>', print_r($entry), '</pre>';
-    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
index 051bad9..c2376b7 100644 (file)
@@ -2,7 +2,7 @@
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title><?php wp_title(); ?></title>
-    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.23.0">
+    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.24">
     <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>
     <link rel="shortcut icon" href="<?php echo bloginfo('template_url')?>/favicon.png?v=1.1">
     <?php wp_head(); ?>
index 405cf3f..e53fb43 100644 (file)
--- 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
 */