Google Forms - Version 0.53

Version Description

No known upgrade issues.

Download this release

Release Info

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

Code changes from version 0.52 to 0.53

Files changed (4) hide show
  1. css/wpgform.css +10 -0
  2. index.php +3 -3
  3. readme.txt +6 -1
  4. wpgform-core.php +2 -1
css/wpgform.css CHANGED
@@ -134,3 +134,13 @@ div.password-warning {
134
  div.ss-form-container li {
135
  list-style-type: none;
136
  }
 
 
 
 
 
 
 
 
 
 
134
  div.ss-form-container li {
135
  list-style-type: none;
136
  }
137
+
138
+ /* 2013-06-04: Hide "Edit this Form" link */
139
+ a.ss-edit-link {
140
+ display: none;
141
+ }
142
+
143
+ /* 2013-06-06: Hide help text for scales */
144
+ div.aria-only-help {
145
+ display: none;
146
+ }
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.52
8
- * Build: 0.52.$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.52') ;
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.53
8
+ * Build: 0.53.$WCREV$
9
  * Last Modified: $WCDATE$
10
  * Author: Mike Walsh
11
  * Author URI: http://www.michaelwalsh.org
25
  *
26
  */
27
 
28
+ define('WPGFORM_VERSION', '0.53') ;
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.52
8
 
9
  Embeds a published, public Google Form in a WordPress post, page, or widget.
10
 
@@ -316,6 +316,11 @@ No known upgrade issues.
316
 
317
  == Changelog ==
318
 
 
 
 
 
 
319
  = Version 0.52 =
320
  * Fixed typos on Options page.
321
  * Fixed long standing bug with Default Options sometimes not initializing or saving correctly.
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.53
8
 
9
  Embeds a published, public Google Form in a WordPress post, page, or widget.
10
 
316
 
317
  == Changelog ==
318
 
319
+ = Version 0.53 =
320
+ * Added CSS rule to hide Google's new Edit Link "feature".
321
+ * Added support for link (A) elements with class attributes when call wp_kses().
322
+ * Added CSS rule to suppress redudant information on Scale widgets.
323
+
324
  = Version 0.52 =
325
  * Fixed typos on Options page.
326
  * Fixed long standing bug with Default Options sometimes not initializing or saving correctly.
wpgform-core.php CHANGED
@@ -699,6 +699,7 @@ class wpGForm
699
  {
700
  self::$response = wp_remote_get($form, array('sslverify' => false, 'timeout' => $timeout, 'redirection' => 12, 'cookies' => array($locale_cookie))) ;
701
  //self::$response = wp_remote_get($form, array('sslverify' => false, 'timeout' => $timeout, 'redirection' => 12)) ;
 
702
  }
703
 
704
  // Retrieve the HTML from the URL
@@ -730,7 +731,7 @@ class wpGForm
730
  // we don't want. This gets rid of the HTML wrapper from the Google page.
731
 
732
  $allowed_tags = array(
733
- 'a' => array('href' => array(), 'title' => array(), 'target' => array())
734
  ,'b' => array()
735
  ,'abbr' => array('title' => array()),'acronym' => array('title' => array())
736
  ,'code' => array()
699
  {
700
  self::$response = wp_remote_get($form, array('sslverify' => false, 'timeout' => $timeout, 'redirection' => 12, 'cookies' => array($locale_cookie))) ;
701
  //self::$response = wp_remote_get($form, array('sslverify' => false, 'timeout' => $timeout, 'redirection' => 12)) ;
702
+ error_log(print_r(self::$response, true)) ;
703
  }
704
 
705
  // Retrieve the HTML from the URL
731
  // we don't want. This gets rid of the HTML wrapper from the Google page.
732
 
733
  $allowed_tags = array(
734
+ 'a' => array('href' => array(), 'title' => array(), 'target' => array(), 'class' => array())
735
  ,'b' => array()
736
  ,'abbr' => array('title' => array()),'acronym' => array('title' => array())
737
  ,'code' => array()