Crowdsignal Dashboard – Polls, Surveys & more - Version 2.2.2

Version Description

  • Fixed XSS in the style title. #46
  • Fixed wp_parse_str #40
  • Remove PHP 5 mention from readme.txt #44
Download this release

Release Info

Developer donncha
Plugin Icon 128x128 Crowdsignal Dashboard – Polls, Surveys & more
Version 2.2.2
Comparing to
See all releases

Code changes from version 2.2.1 to 2.2.2

Files changed (3) hide show
  1. polldaddy-client.php +1 -8
  2. polldaddy.php +2 -2
  3. readme.txt +7 -4
polldaddy-client.php CHANGED
@@ -1323,21 +1323,14 @@ if ( !function_exists( 'wp_parse_str' ) ) :
1323
  /**
1324
  * Parses a string into variables to be stored in an array.
1325
  *
1326
- * Uses {@link http://www.php.net/parse_str parse_str()} and stripslashes if
1327
- * {@link http://www.php.net/magic_quotes magic_quotes_gpc} is on.
1328
- *
1329
  * @since 2.2.1
1330
  * @uses apply_filters() for the 'wp_parse_str' filter.
1331
  *
1332
  * @param string $string The string to be parsed.
1333
- * @param array $array Variables will be stored in this array.
1334
  */
1335
  function wp_parse_str( $string, &$array ) {
1336
  parse_str( $string, $array );
1337
- if ( get_magic_quotes_gpc() )
1338
- $array = stripslashes_deep( $array );
1339
- return $array;
1340
-
1341
  $array = apply_filters( 'wp_parse_str', $array );
1342
  }
1343
  endif;
1323
  /**
1324
  * Parses a string into variables to be stored in an array.
1325
  *
 
 
 
1326
  * @since 2.2.1
1327
  * @uses apply_filters() for the 'wp_parse_str' filter.
1328
  *
1329
  * @param string $string The string to be parsed.
1330
+ * @param array $array Variables will be stored in this array.
1331
  */
1332
  function wp_parse_str( $string, &$array ) {
1333
  parse_str( $string, $array );
 
 
 
 
1334
  $array = apply_filters( 'wp_parse_str', $array );
1335
  }
1336
  endif;
polldaddy.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Create and manage Crowdsignal polls and ratings in WordPress
6
  * Author: Automattic, Inc.
7
  * Author URL: https://crowdsignal.com/
8
- * Version: 2.2.1
9
  */
10
 
11
  // To hardcode your Polldaddy PartnerGUID (API Key), add the (uncommented) line below with the PartnerGUID to your `wp-config.php`
@@ -2792,7 +2792,7 @@ src="https://static.polldaddy.com/p/<?php echo (int) $poll_id; ?>.js"&gt;&lt;/sc
2792
  <td>
2793
  <div id="titlediv" style="margin:0px;">
2794
  <div id="titlewrap">
2795
- <input type="text" autocomplete="off" value="<?php echo $style_id > 1000 ? $style->title : ''; ?>" tabindex="1" style="width:25em;" name="style-title" />
2796
  </div>
2797
  </div>
2798
  </td>
5
  * Description: Create and manage Crowdsignal polls and ratings in WordPress
6
  * Author: Automattic, Inc.
7
  * Author URL: https://crowdsignal.com/
8
+ * Version: 2.2.2
9
  */
10
 
11
  // To hardcode your Polldaddy PartnerGUID (API Key), add the (uncommented) line below with the PartnerGUID to your `wp-config.php`
2792
  <td>
2793
  <div id="titlediv" style="margin:0px;">
2794
  <div id="titlewrap">
2795
+ <input type="text" autocomplete="off" value="<?php echo $style_id > 1000 ? esc_html( $style->title ) : ''; ?>" tabindex="1" style="width:25em;" name="style-title" />
2796
  </div>
2797
  </div>
2798
  </td>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: crowdsignal, polls, poll, polldaddy, wppolls, vote, polling, surveys, rate
4
  Requires at least: 4.6
5
  Requires PHP: 5.6
6
  Tested up to: 5.6
7
- Stable tag: 2.2.1
8
 
9
  Create and manage Crowdsignal polls and ratings from within WordPress.
10
 
@@ -12,8 +12,6 @@ Create and manage Crowdsignal polls and ratings from within WordPress.
12
 
13
  The Crowdsignal Polls and Ratings plugin allows you to create and manage polls and ratings from within your WordPress dashboard. You can create polls, choose from 20 different styles for your polls, and view all results for your polls as they come in. All Crowdsignal polls are fully customizable, you can set a close date for your poll, create multiple choice polls, choose whether to display the results or keep them private. You can also create your own custom style for your poll. You can even embed the polls you create on other websites. You can collect unlimited votes and create unlimited polls. The new ratings menu allows you to embed ratings into your posts, pages or comments. The rating editor allows you to fully customize your rating. You can also avail of the 'Top Rated' widget that will allow you to place the widget in your sidebar. This widget will show you the top rated posts, pages and comments today, this week and this month.
14
 
15
- The Crowdsignal plugin requires PHP 5.
16
-
17
  Crowdsignal Polls is currently available in the following languages:
18
 
19
  * Arabic
@@ -122,10 +120,15 @@ This is possible if your server or network is blocking outgoing calls to Crowdsi
122
  Make sure to whitelist `api.crowdsignal.com` in your firewall to fix this.
123
 
124
  == Upgrade Notice ==
125
- Minor bugfix
126
 
127
  == Changelog ==
128
 
 
 
 
 
 
129
  = 2.2.1 =
130
  * Fix a minor PHP warning.
131
 
4
  Requires at least: 4.6
5
  Requires PHP: 5.6
6
  Tested up to: 5.6
7
+ Stable tag: 2.2.2
8
 
9
  Create and manage Crowdsignal polls and ratings from within WordPress.
10
 
12
 
13
  The Crowdsignal Polls and Ratings plugin allows you to create and manage polls and ratings from within your WordPress dashboard. You can create polls, choose from 20 different styles for your polls, and view all results for your polls as they come in. All Crowdsignal polls are fully customizable, you can set a close date for your poll, create multiple choice polls, choose whether to display the results or keep them private. You can also create your own custom style for your poll. You can even embed the polls you create on other websites. You can collect unlimited votes and create unlimited polls. The new ratings menu allows you to embed ratings into your posts, pages or comments. The rating editor allows you to fully customize your rating. You can also avail of the 'Top Rated' widget that will allow you to place the widget in your sidebar. This widget will show you the top rated posts, pages and comments today, this week and this month.
14
 
 
 
15
  Crowdsignal Polls is currently available in the following languages:
16
 
17
  * Arabic
120
  Make sure to whitelist `api.crowdsignal.com` in your firewall to fix this.
121
 
122
  == Upgrade Notice ==
123
+ Security and bug fix release.
124
 
125
  == Changelog ==
126
 
127
+ = 2.2.2 =
128
+ * Fixed XSS in the style title. #46
129
+ * Fixed wp_parse_str #40
130
+ * Remove PHP 5 mention from readme.txt #44
131
+
132
  = 2.2.1 =
133
  * Fix a minor PHP warning.
134