Crowdsignal Dashboard – Polls, Surveys & more - Version 2.0.11

Version Description

  • Fixed URL encoding bug
Download this release

Release Info

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

Code changes from version 2.0.10 to 2.0.11

Files changed (2) hide show
  1. polldaddy.php +11 -14
  2. readme.txt +5 -1
polldaddy.php CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://wordpress.org/extend/plugins/polldaddy/
6
  Description: Create and manage Polldaddy polls and ratings in WordPress
7
  Author: Automattic, Inc.
8
  Author URL: http://automattic.com/
9
- Version: 2.0.10
10
  */
11
 
12
  // You can hardcode your Polldaddy PartnerGUID (API Key) here
@@ -35,7 +35,7 @@ class WP_Polldaddy {
35
  $this->log( 'Created WP_Polldaddy Object: constructor' );
36
  $this->errors = new WP_Error;
37
  $this->scheme = 'https';
38
- $this->version = '2.0.10';
39
  $this->multiple_accounts = true;
40
  $this->polldaddy_client_class = 'api_client';
41
  $this->polldaddy_clients = array();
@@ -1543,17 +1543,14 @@ src="http://static.polldaddy.com/p/<?php echo (int) $poll_id; ?>.js"&gt;&lt;/scr
1543
  <div class="tablenav-pages"><?php echo $page_links; ?></div>
1544
  </div>
1545
 
1546
-
1547
-
1548
-
1549
- <script language="javascript">
1550
  jQuery( document ).ready(function(){
1551
  plugin = new Plugin( {
1552
- delete_rating: '<?php echo esc_attr( __( 'Are you sure you want to delete the rating for "%s"?', 'polldaddy' ) ); ?>',
1553
- delete_poll: '<?php echo esc_attr( __( 'Are you sure you want to delete the poll %s?', 'polldaddy' ) ); ?>',
1554
- delete_answer: '<?php echo esc_attr( __( 'Are you sure you want to delete this answer?', 'polldaddy' ) ); ?>',
1555
- delete_answer_title: '<?php echo esc_attr( __( 'delete this answer', 'polldaddy' ) ); ?>',
1556
- standard_styles: '<?php echo esc_attr( __( 'Standard Styles', 'polldaddy' ) ); ?>',
1557
  custom_styles: '<?php echo esc_attr( __( 'Custom Styles', 'polldaddy' ) ); ?>'
1558
  } );
1559
 
@@ -1561,9 +1558,9 @@ src="http://static.polldaddy.com/p/<?php echo (int) $poll_id; ?>.js"&gt;&lt;/scr
1561
 
1562
 
1563
  if( jQuery( '#filter-options' ).val() == 'blog' ){
1564
- window.location = '<?php echo add_query_arg( array( 'view' => 'blog', 'paged' => false ) ); ?>';
1565
  } else {
1566
- window.location = '<?php echo add_query_arg( array( 'view' => false, 'paged' => false ) ); ?>';
1567
  }
1568
 
1569
 
@@ -4959,4 +4956,4 @@ require dirname( __FILE__ ).'/ajax.php';
4959
  require dirname( __FILE__ ).'/popups.php';
4960
  require dirname( __FILE__ ).'/polldaddy-org.php';
4961
 
4962
- $GLOBALS[ 'wp_log_plugins' ][] = 'polldaddy';
6
  Description: Create and manage Polldaddy polls and ratings in WordPress
7
  Author: Automattic, Inc.
8
  Author URL: http://automattic.com/
9
+ Version: 2.0.11
10
  */
11
 
12
  // You can hardcode your Polldaddy PartnerGUID (API Key) here
35
  $this->log( 'Created WP_Polldaddy Object: constructor' );
36
  $this->errors = new WP_Error;
37
  $this->scheme = 'https';
38
+ $this->version = '2.0.11';
39
  $this->multiple_accounts = true;
40
  $this->polldaddy_client_class = 'api_client';
41
  $this->polldaddy_clients = array();
1543
  <div class="tablenav-pages"><?php echo $page_links; ?></div>
1544
  </div>
1545
 
1546
+ <script type="text/javascript">
 
 
 
1547
  jQuery( document ).ready(function(){
1548
  plugin = new Plugin( {
1549
+ delete_rating: '<?php echo esc_js( __( 'Are you sure you want to delete the rating for "%s"?', 'polldaddy' ) ); ?>',
1550
+ delete_poll: '<?php echo esc_js( __( 'Are you sure you want to delete the poll %s?', 'polldaddy' ) ); ?>',
1551
+ delete_answer: '<?php echo esc_js( __( 'Are you sure you want to delete this answer?', 'polldaddy' ) ); ?>',
1552
+ delete_answer_title: '<?php echo esc_js( __( 'delete this answer', 'polldaddy' ) ); ?>',
1553
+ standard_styles: '<?php echo esc_js( __( 'Standard Styles', 'polldaddy' ) ); ?>',
1554
  custom_styles: '<?php echo esc_attr( __( 'Custom Styles', 'polldaddy' ) ); ?>'
1555
  } );
1556
 
1558
 
1559
 
1560
  if( jQuery( '#filter-options' ).val() == 'blog' ){
1561
+ window.location = '<?php echo add_query_arg( array( 'page' => 'polls', 'view' => 'blog' ), admin_url( 'admin.php' ) ); ?>';
1562
  } else {
1563
+ window.location = '<?php echo add_query_arg( array( 'page' => 'polls' ), admin_url( 'admin.php' ) ); ?>';
1564
  }
1565
 
1566
 
4956
  require dirname( __FILE__ ).'/popups.php';
4957
  require dirname( __FILE__ ).'/polldaddy-org.php';
4958
 
4959
+ $GLOBALS[ 'wp_log_plugins' ][] = 'polldaddy';
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: eoigal, alternatekev, mdawaffe, donncha, johnny5
3
  Tags: polls, poll, polldaddy, wppolls, vote, polling, surveys, rate, rating, ratings
4
  Requires at least: 2.6
5
  Tested up to: 3.2.1
6
- Stable tag: 2.0.10
7
 
8
  Create and manage Polldaddy polls and ratings from within WordPress.
9
 
@@ -82,6 +82,10 @@ Create custom poll styles that support RTL text direction.
82
 
83
 
84
  == Change Log ==
 
 
 
 
85
  = 2.0.10 =
86
  * Added option to custom style editor to set direction of text.
87
  * Added option to allow shortcodes to load inline rather than in the footer. Some themes need this.
3
  Tags: polls, poll, polldaddy, wppolls, vote, polling, surveys, rate, rating, ratings
4
  Requires at least: 2.6
5
  Tested up to: 3.2.1
6
+ Stable tag: 2.0.11
7
 
8
  Create and manage Polldaddy polls and ratings from within WordPress.
9
 
82
 
83
 
84
  == Change Log ==
85
+
86
+ = 2.0.11 =
87
+ * Fixed URL encoding bug
88
+
89
  = 2.0.10 =
90
  * Added option to custom style editor to set direction of text.
91
  * Added option to allow shortcodes to load inline rather than in the footer. Some themes need this.