Google Forms - Version 0.68

Version Description

No known upgrade issues.

Download this release

Release Info

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

Code changes from version 0.67 to 0.68

Files changed (3) hide show
  1. index.php +3 -3
  2. readme.txt +4 -1
  3. wpgform-post-type.php +1 -1
index.php CHANGED
@@ -4,8 +4,8 @@
4
  * Plugin Name: Google Forms
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.67
8
- * Build: 0.67.$WCREV$
9
  * Last Modified: $WCDATE$
10
  * Author: Mike Walsh
11
  * Author URI: http://www.michaelwalsh.org
@@ -25,7 +25,7 @@
25
  *
26
  */
27
 
28
- define('WPGFORM_VERSION', '0.67') ;
29
 
30
  require_once('wpgform-core.php') ;
31
  require_once('wpgform-post-type.php') ;
4
  * Plugin Name: Google Forms
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.68
8
+ * Build: 0.68.$WCREV$
9
  * Last Modified: $WCDATE$
10
  * Author: Mike Walsh
11
  * Author URI: http://www.michaelwalsh.org
25
  *
26
  */
27
 
28
+ define('WPGFORM_VERSION', '0.68') ;
29
 
30
  require_once('wpgform-core.php') ;
31
  require_once('wpgform-post-type.php') ;
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.7.1
6
  Tested up to: 3.8.3
7
- Stable tag: 0.67
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -381,6 +381,9 @@ No known upgrade issues.
381
 
382
  == Change log ==
383
 
 
 
 
384
  = Version 0.67 =
385
  * Fixed typo in internationalization mapping for one of the form buttons.
386
  * Removed leftover debug code.
4
  Tags: Google Forms, Google Docs, Google, Spreadsheet, shortcode, forms
5
  Requires at least: 3.7.1
6
  Tested up to: 3.8.3
7
+ Stable tag: 0.68
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
381
 
382
  == Change log ==
383
 
384
+ = Version 0.68 =
385
+ * Fixed a bug due to missing named parameter passed to wp_update_post() which manifested itself in a call to array_map() as part of core WordPress function.
386
+
387
  = Version 0.67 =
388
  * Fixed typo in internationalization mapping for one of the form buttons.
389
  * Removed leftover debug code.
wpgform-post-type.php CHANGED
@@ -81,7 +81,7 @@ function wpgform_routine_maintenance()
81
  $content = sprintf('[wpgform id=\'%d\']', get_the_ID()) ;
82
 
83
  if ($content !== get_the_content())
84
- wp_update_post(array('ID' => get_the_ID(), $content)) ;
85
  endwhile ;
86
 
87
  // re-hook this function
81
  $content = sprintf('[wpgform id=\'%d\']', get_the_ID()) ;
82
 
83
  if ($content !== get_the_content())
84
+ wp_update_post(array('ID' => get_the_ID(), 'post_content' => $content)) ;
85
  endwhile ;
86
 
87
  // re-hook this function