Version Description
No known upgrade issues.
Download this release
Release Info
Developer | mpwalsh8 |
Plugin | Google Forms |
Version | 0.67 |
Comparing to | |
See all releases |
Code changes from version 0.66 to 0.67
- index.php +3 -3
- readme.txt +5 -1
- wpgform-core.php +1 -1
- 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.
|
8 |
-
* Build: 0.
|
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.
|
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.67
|
8 |
+
* Build: 0.67.$WCREV$
|
9 |
* Last Modified: $WCDATE$
|
10 |
* Author: Mike Walsh
|
11 |
* Author URI: http://www.michaelwalsh.org
|
25 |
*
|
26 |
*/
|
27 |
|
28 |
+
define('WPGFORM_VERSION', '0.67') ;
|
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.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -381,6 +381,10 @@ No known upgrade issues.
|
|
381 |
|
382 |
== Change log ==
|
383 |
|
|
|
|
|
|
|
|
|
384 |
= Version 0.66 =
|
385 |
* Moved hygiene out of init hook into admin_init hook so it won't run on every page load. Resolves conflict with WordPress SEO.
|
386 |
* Fixed hygiene to only update post content when it isn't what is expected.
|
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 |
|
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.
|
387 |
+
|
388 |
= Version 0.66 =
|
389 |
* Moved hygiene out of init hook into admin_init hook so it won't run on every page load. Resolves conflict with WordPress SEO.
|
390 |
* Fixed hygiene to only update post content when it isn't what is expected.
|
wpgform-core.php
CHANGED
@@ -248,7 +248,7 @@ function wpgform_options_validate($input)
|
|
248 |
}
|
249 |
|
250 |
// Was the Reset button pushed?
|
251 |
-
if (__('Reset',
|
252 |
$input = wpgform_get_default_plugin_options();
|
253 |
|
254 |
return $input ;
|
248 |
}
|
249 |
|
250 |
// Was the Reset button pushed?
|
251 |
+
if (__('Reset', WPGFORM_I18N_DOMAIN) === $_POST['Submit'])
|
252 |
$input = wpgform_get_default_plugin_options();
|
253 |
|
254 |
return $input ;
|
wpgform-post-type.php
CHANGED
@@ -64,7 +64,7 @@ function wpgform_register_post_types()
|
|
64 |
/** Perform routine maintenance */
|
65 |
function wpgform_routine_maintenance()
|
66 |
{
|
67 |
-
error_log(sprintf('%s::%s (init)', basename(__FILE__), __LINE__)) ;
|
68 |
// Post type is registered, do some hygiene on any that exist in the database.
|
69 |
// Insert the "wpgform" shortcode for that post into the post content. This
|
70 |
// ensures the form will be displayed properly when viewed through the CPT URL.
|
64 |
/** Perform routine maintenance */
|
65 |
function wpgform_routine_maintenance()
|
66 |
{
|
67 |
+
//error_log(sprintf('%s::%s (init)', basename(__FILE__), __LINE__)) ;
|
68 |
// Post type is registered, do some hygiene on any that exist in the database.
|
69 |
// Insert the "wpgform" shortcode for that post into the post content. This
|
70 |
// ensures the form will be displayed properly when viewed through the CPT URL.
|