Crowdsignal Dashboard – Polls, Surveys & more - Version 2.0.27

Version Description

  • Fixed WP_Widget warning.
  • Fixed "previous" and "next" links on the poll feedback page.
Download this release

Release Info

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

Code changes from version 2.0.26 to 2.0.27

Files changed (3) hide show
  1. polldaddy-org.php +6 -2
  2. polldaddy.php +7 -3
  3. readme.txt +10 -8
polldaddy-org.php CHANGED
@@ -944,10 +944,14 @@ add_filter( 'widget_text', 'do_shortcode' );
944
  if ( class_exists( 'WP_Widget' ) ) {
945
  class PD_Top_Rated extends WP_Widget {
946
 
947
- function PD_Top_Rated() {
948
 
949
  $widget_ops = array( 'classname' => 'top_rated', 'description' => __( 'A list of your top rated posts, pages or comments.', 'polldaddy' ) );
950
- $this->WP_Widget( 'PD_Top_Rated', 'Top Rated', $widget_ops );
 
 
 
 
951
  }
952
 
953
  function widget($args, $instance) {
944
  if ( class_exists( 'WP_Widget' ) ) {
945
  class PD_Top_Rated extends WP_Widget {
946
 
947
+ function __construct() {
948
 
949
  $widget_ops = array( 'classname' => 'top_rated', 'description' => __( 'A list of your top rated posts, pages or comments.', 'polldaddy' ) );
950
+ parent::__construct( 'PD_Top_Rated', 'Top Rated', $widget_ops );
951
+ }
952
+
953
+ function PD_Top_Rated() {
954
+ $this->__construct();
955
  }
956
 
957
  function widget($args, $instance) {
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://polldaddy.com/
9
- Version: 2.0.26
10
  */
11
 
12
  // You can hardcode your Polldaddy PartnerGUID (API Key) here
@@ -1390,7 +1390,9 @@ class WP_Polldaddy {
1390
  'base' => add_query_arg( 'paged', '%#%' ),
1391
  'format' => '',
1392
  'total' => ceil( $total_polls / 10 ),
1393
- 'current' => $page
 
 
1394
  ) );
1395
 
1396
 
@@ -4676,7 +4678,9 @@ src="http://static.polldaddy.com/p/<?php echo (int) $poll_id; ?>.js"&gt;&lt;/scr
4676
  'prev_text' => __( '&laquo;', 'polldaddy' ),
4677
  'next_text' => __( '&raquo;', 'polldaddy' ),
4678
  'total' => $total_pages,
4679
- 'current' => $current_page
 
 
4680
  ) );
4681
  ?>
4682
  <div class="wrap">
6
  Description: Create and manage Polldaddy polls and ratings in WordPress
7
  Author: Automattic, Inc.
8
  Author URL: http://polldaddy.com/
9
+ Version: 2.0.27
10
  */
11
 
12
  // You can hardcode your Polldaddy PartnerGUID (API Key) here
1390
  'base' => add_query_arg( 'paged', '%#%' ),
1391
  'format' => '',
1392
  'total' => ceil( $total_polls / 10 ),
1393
+ 'current' => $page,
1394
+ 'prev_text' => '&laquo;',
1395
+ 'next_text' => '&raquo;'
1396
  ) );
1397
 
1398
 
4678
  'prev_text' => __( '&laquo;', 'polldaddy' ),
4679
  'next_text' => __( '&raquo;', 'polldaddy' ),
4680
  'total' => $total_pages,
4681
+ 'current' => $current_page,
4682
+ 'prev_text' => '&laquo;',
4683
+ 'next_text' => '&raquo;'
4684
  ) );
4685
  ?>
4686
  <div class="wrap">
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Polldaddy Polls & Ratings ===
2
  Contributors: eoigal, alternatekev, mdawaffe, donncha, johnny5
3
- Tags: polls, poll, polldaddy, wppolls, vote, polling, surveys, rate, rating, ratings
4
  Requires at least: 3.3
5
- Tested up to: 3.9.1
6
- Stable tag: 2.0.26
7
 
8
  Create and manage Polldaddy polls and ratings from within WordPress.
9
 
@@ -112,7 +112,13 @@ Your theme is getting the post content, without necessarily showing it. If the p
112
 
113
 
114
  == Upgrade Notice ==
115
- SSL support for poll shortcode, security update of survey shortcode, resize the "Add Poll" popup.
 
 
 
 
 
 
116
 
117
  = 2.0.26 =
118
  * SSL support for poll and survey shortcodes
@@ -120,10 +126,6 @@ SSL support for poll shortcode, security update of survey shortcode, resize the
120
  * Resize the "Add Poll" popup.
121
  * Validate the rating_id before updating it on the ratings settings page.
122
 
123
- = 2.0.25 =
124
- * Fixed XSS in shortcode and added reset/restore settings form
125
-
126
- == Changelog ==
127
  = 2.0.25 =
128
  * Fixed XSS in ratings shortcode. Props vortfu
129
  * Added forms to allow users to reset and restore their connection settings. Useful to fix rating widget problems.
1
  === Polldaddy Polls & Ratings ===
2
  Contributors: eoigal, alternatekev, mdawaffe, donncha, johnny5
3
+ Tags: polls, poll, polldaddy, wppolls, vote, polling, surveys, rate, rating, ratings
4
  Requires at least: 3.3
5
+ Tested up to: 4.3
6
+ Stable tag: 2.0.27
7
 
8
  Create and manage Polldaddy polls and ratings from within WordPress.
9
 
112
 
113
 
114
  == Upgrade Notice ==
115
+ Fixed WP_Widget warning and fixed prev/next links on poll feedback page.
116
+
117
+ == Changelog ==
118
+
119
+ = 2.0.27 =
120
+ * Fixed WP_Widget warning.
121
+ * Fixed "previous" and "next" links on the poll feedback page.
122
 
123
  = 2.0.26 =
124
  * SSL support for poll and survey shortcodes
126
  * Resize the "Add Poll" popup.
127
  * Validate the rating_id before updating it on the ratings settings page.
128
 
 
 
 
 
129
  = 2.0.25 =
130
  * Fixed XSS in ratings shortcode. Props vortfu
131
  * Added forms to allow users to reset and restore their connection settings. Useful to fix rating widget problems.