Google Forms - Version 0.24

Version Description

No known upgrade issues.

Download this release

Release Info

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

Code changes from version 0.23 to 0.24

Files changed (3) hide show
  1. index.php +2 -2
  2. readme.txt +4 -1
  3. wpgform-core.php +2 -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.23
8
- * Build: 0.23.$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.24
8
+ * Build: 0.24.$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.23
8
 
9
  Embeds a published, public Google Form in a WordPress post, page, or widget.
10
 
@@ -177,6 +177,9 @@ No known upgrade issues.
177
 
178
  == Changelog ==
179
 
 
 
 
180
  = Version 0.23 =
181
  * Fixed problem where CSS declarations were emitted as plain text when they shouldn't be.
182
 
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.24
8
 
9
  Embeds a published, public Google Form in a WordPress post, page, or widget.
10
 
177
 
178
  == Changelog ==
179
 
180
+ = Version 0.23 =
181
+ * Fixed problem with UTF-8 characters not being passed through the form correctly.
182
+
183
  = Version 0.23 =
184
  * Fixed problem where CSS declarations were emitted as plain text when they shouldn't be.
185
 
wpgform-core.php CHANGED
@@ -294,11 +294,11 @@ class wpGForm
294
  {
295
  $pa = &$_POST[$key] ;
296
  foreach ($pa as $pv)
297
- $body .= preg_replace($patterns, $replacements, $key) . '=' . $pv . '&' ;
298
  }
299
  else
300
  {
301
- $body .= preg_replace($patterns, $replacements, $key) . '=' . $value . '&' ;
302
  }
303
  }
304
  // Remove the action from the form and POST it
294
  {
295
  $pa = &$_POST[$key] ;
296
  foreach ($pa as $pv)
297
+ $body .= preg_replace($patterns, $replacements, $key) . '=' . rawurlencode($pv) . '&' ;
298
  }
299
  else
300
  {
301
+ $body .= preg_replace($patterns, $replacements, $key) . '=' . rawurlencode($value) . '&' ;
302
  }
303
  }
304
  // Remove the action from the form and POST it