Version Description
No known upgrade issues.
Download this release
Release Info
Developer | mpwalsh8 |
Plugin | Google Forms |
Version | 0.50 |
Comparing to | |
See all releases |
Code changes from version 0.49 to 0.50
- css/wpgform.css +5 -0
- index.php +3 -3
- readme.txt +5 -1
- wpgform-core.php +11 -5
css/wpgform.css
CHANGED
@@ -122,6 +122,11 @@ div.ss-q-help {
|
|
122 |
div.ss-secondary-text {
|
123 |
}
|
124 |
|
|
|
|
|
|
|
|
|
|
|
125 |
div.password-warning {
|
126 |
display: none;
|
127 |
}
|
122 |
div.ss-secondary-text {
|
123 |
}
|
124 |
|
125 |
+
/* This hides the "Never submit passwords through Google Forms." warning. */
|
126 |
+
div.ss-form-entry > div.ss-secondary-text {
|
127 |
+
display: none;
|
128 |
+
}
|
129 |
+
|
130 |
div.password-warning {
|
131 |
display: none;
|
132 |
}
|
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.
|
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: 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.50
|
8 |
+
* Build: 0.50.$WCREV$
|
9 |
* Last Modified: $WCDATE$
|
10 |
* Author: Mike Walsh
|
11 |
* Author URI: http://www.michaelwalsh.org
|
25 |
*
|
26 |
*/
|
27 |
|
28 |
+
define('WPGFORM_VERSION', '0.50') ;
|
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.3
|
6 |
Tested up to: 3.5.1
|
7 |
-
Stable tag: 0.
|
8 |
|
9 |
Embeds a published, public Google Form in a WordPress post, page, or widget.
|
10 |
|
@@ -255,6 +255,10 @@ No known upgrade issues.
|
|
255 |
|
256 |
== Changelog ==
|
257 |
|
|
|
|
|
|
|
|
|
258 |
= Version 0.49 =
|
259 |
* Inadvertently made help text invisible with CSS, updated default CSS accordingly.
|
260 |
|
4 |
Tags: Google Forms, Google Docs, Google, Spreadsheet, shortcode, forms
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.5.1
|
7 |
+
Stable tag: 0.50
|
8 |
|
9 |
Embeds a published, public Google Form in a WordPress post, page, or widget.
|
10 |
|
255 |
|
256 |
== Changelog ==
|
257 |
|
258 |
+
= Version 0.50 =
|
259 |
+
* Fixed jQuery syntax error which happens when validation is on but CAPTCHA and Email User is off.
|
260 |
+
* Added new CSS to hide the "Never submit passwords through Google Forms." message by default.
|
261 |
+
|
262 |
= Version 0.49 =
|
263 |
* Inadvertently made help text invisible with CSS, updated default CSS accordingly.
|
264 |
|
wpgform-core.php
CHANGED
@@ -976,13 +976,19 @@ jQuery(document).ready(function($) {
|
|
976 |
$("#ss-form").validate({
|
977 |
errorClass: "wpgform-error",
|
978 |
rules: {' ;
|
979 |
-
|
980 |
-
$js .=
|
|
|
|
|
|
|
981 |
$js .= '
|
982 |
messages: {' ;
|
983 |
-
|
984 |
-
$js .=
|
985 |
-
|
|
|
|
|
|
|
986 |
}) ;' ;
|
987 |
}
|
988 |
|
976 |
$("#ss-form").validate({
|
977 |
errorClass: "wpgform-error",
|
978 |
rules: {' ;
|
979 |
+
if (empty($vRules_js))
|
980 |
+
$js .= '},' ;
|
981 |
+
else
|
982 |
+
foreach ($vRules_js as $r)
|
983 |
+
$js .= sprintf('%s%s', $r, $r === end($vRules_js) ? ' },' : ',') ;
|
984 |
$js .= '
|
985 |
messages: {' ;
|
986 |
+
if (empty($vMsgs_js))
|
987 |
+
$js .= '}' ;
|
988 |
+
else
|
989 |
+
foreach ($vMsgs_js as $m)
|
990 |
+
$js .= sprintf('%s%s', $m, $m === end($vMsgs_js) ? ' }' : ',') ;
|
991 |
+
$js .= '
|
992 |
}) ;' ;
|
993 |
}
|
994 |
|