Google Forms - Version 0.13

Version Description

No known upgrade issues.

Download this release

Release Info

Developer mpwalsh8
Plugin Icon wp plugin Google Forms
Version 0.13
Comparing to
See all releases

Code changes from version 0.12 to 0.13

Files changed (3) hide show
  1. index.php +2 -2
  2. readme.txt +4 -1
  3. wpgform-core.php +3 -2
index.php CHANGED
@@ -4,8 +4,8 @@
4
  * Plugin Name: WordPress Google Form
5
  * Plugin URI: http://michaelwalsh.org/wordpress/wordpress-plugins/wpgform/
6
  * Description: Add Google Forms to a WordPress web site. Display a Google Form directly into your posts, pages or sidebar. Style the Google Form to match your existing theme and display a custom confirmation page after form submission.
7
- * Version: 0.12
8
- * Build: 0.12.$WCREV$
9
  * Last Modified: $WCDATE$
10
  * Author: Mike Walsh
11
  * Author URI: http://www.michaelwalsh.org
4
  * Plugin Name: WordPress Google Form
5
  * Plugin URI: http://michaelwalsh.org/wordpress/wordpress-plugins/wpgform/
6
  * Description: Add Google Forms to a WordPress web site. Display a Google Form directly into your posts, pages or sidebar. Style the Google Form to match your existing theme and display a custom confirmation page after form submission.
7
+ * Version: 0.13
8
+ * Build: 0.13.$WCREV$
9
  * Last Modified: $WCDATE$
10
  * Author: Mike Walsh
11
  * Author URI: http://www.michaelwalsh.org
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: Google Forms, Google Docs, Google, Spreadsheet, shortcode, forms
5
  Requires at least: 3.0
6
  Tested up to: 3.3.1
7
- Stable tag: 0.12
8
 
9
  Embeds a published, public Google Form in a WordPress post, page, or widget.
10
 
@@ -173,6 +173,9 @@ No known upgrade issues.
173
 
174
  == Changelog ==
175
 
 
 
 
176
  = Version 0.12 =
177
  * Debug code removed and typos fixed.
178
 
4
  Tags: Google Forms, Google Docs, Google, Spreadsheet, shortcode, forms
5
  Requires at least: 3.0
6
  Tested up to: 3.3.1
7
+ Stable tag: 0.13
8
 
9
  Embeds a published, public Google Form in a WordPress post, page, or widget.
10
 
173
 
174
  == Changelog ==
175
 
176
+ = Version 0.13
177
+ * Fixed bug where values for check boxes and radio buttons was not retained when going back on multi-page Google Forms.
178
+
179
  = Version 0.12 =
180
  * Debug code removed and typos fixed.
181
 
wpgform-core.php CHANGED
@@ -259,6 +259,7 @@ class wpGForm
259
 
260
  foreach ($_POST as $key => $value)
261
  {
 
262
  $params[str_replace('_', '.', $key)] = $value ;
263
  }
264
 
@@ -313,8 +314,8 @@ class wpGForm
313
  ,'h1' => array('class' => array())
314
  ,'i' => array()
315
  ,'label' => array('class' => array(), 'for' => array())
316
- ,'input' => array('id' => array(), 'name' => array(), 'class' => array(), 'type' => array(), 'value' => array())
317
- ,'select' => array('name' => array(), 'for' => array())
318
  ,'option' => array('value' => array(), 'checked' => array())
319
  ,'form' => array('id' => array(), 'class' => array(), 'action' => array(), 'method' => array(), 'target' => array(), 'onsubmit' => array())
320
  ,'script' => array('type' => array())
259
 
260
  foreach ($_POST as $key => $value)
261
  {
262
+ //printf('<h3>Fixing parameter "%s"</h3>', $key) ;
263
  $params[str_replace('_', '.', $key)] = $value ;
264
  }
265
 
314
  ,'h1' => array('class' => array())
315
  ,'i' => array()
316
  ,'label' => array('class' => array(), 'for' => array())
317
+ ,'input' => array('id' => array(), 'name' => array(), 'class' => array(), 'type' => array(), 'value' => array(), 'checked' => array())
318
+ ,'select' => array('name' => array(), 'for' => array(), 'checked' => array())
319
  ,'option' => array('value' => array(), 'checked' => array())
320
  ,'form' => array('id' => array(), 'class' => array(), 'action' => array(), 'method' => array(), 'target' => array(), 'onsubmit' => array())
321
  ,'script' => array('type' => array())