Crowdsignal Dashboard – Polls, Surveys & more - Version 2.0.30

Version Description

  • When ratings are displayed at the top of a post separate it with a linebreak, not BR so YT URLs embed properly.
  • Fix "parameter missing" when submitting comments when comment ratings are enabled.
Download this release

Release Info

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

Code changes from version 2.0.29 to 2.0.30

Files changed (3) hide show
  1. polldaddy.php +1 -1
  2. rating.php +5 -2
  3. readme.txt +7 -3
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.29
10
  */
11
 
12
  // You can hardcode your Polldaddy PartnerGUID (API Key) here
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.30
10
  */
11
 
12
  // You can hardcode your Polldaddy PartnerGUID (API Key) here
rating.php CHANGED
@@ -3,7 +3,10 @@
3
  if ( function_exists( 'get_option' ) == false )
4
  die( "Cheatin' eh?" );
5
 
6
- function polldaddy_show_rating_comments( $content, $comment, $args ) {
 
 
 
7
  if ( !is_feed() && !defined( 'DOING_AJAX' ) ) {
8
  global $post;
9
 
@@ -51,7 +54,7 @@ function polldaddy_show_rating( $content ) {
51
  }
52
 
53
  if ( $rating_pos == 0 )
54
- $content = $html . '<br/>' . $content;
55
  else
56
  $content .= $html;
57
  }
3
  if ( function_exists( 'get_option' ) == false )
4
  die( "Cheatin' eh?" );
5
 
6
+ function polldaddy_show_rating_comments( $content, $comment = 0, $args = 0 ) {
7
+ if ( $comment == 0 )
8
+ return $content;
9
+
10
  if ( !is_feed() && !defined( 'DOING_AJAX' ) ) {
11
  global $post;
12
 
54
  }
55
 
56
  if ( $rating_pos == 0 )
57
+ $content = $html . "\n" . $content;
58
  else
59
  $content .= $html;
60
  }
readme.txt CHANGED
@@ -2,8 +2,8 @@
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.4.2
6
- Stable tag: 2.0.29
7
 
8
  Create and manage Polldaddy polls and ratings from within WordPress.
9
 
@@ -116,10 +116,14 @@ Your theme is getting the post content, without necessarily showing it. If the p
116
 
117
 
118
  == Upgrade Notice ==
119
- Minor bug fixes.
120
 
121
  == Changelog ==
122
 
 
 
 
 
123
  = 2.0.29 =
124
  * Whitelist the polldaddy api key blog option so it can be updated by Jetpack.
125
  * Fix label on the poll settings page
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.5.2
6
+ Stable tag: 2.0.30
7
 
8
  Create and manage Polldaddy polls and ratings from within WordPress.
9
 
116
 
117
 
118
  == Upgrade Notice ==
119
+ Fixed warning when submitting comments and ratings display clobbering embed shortcuts.
120
 
121
  == Changelog ==
122
 
123
+ = 2.0.30 =
124
+ * When ratings are displayed at the top of a post separate it with a linebreak, not BR so YT URLs embed properly.
125
+ * Fix "parameter missing" when submitting comments when comment ratings are enabled.
126
+
127
  = 2.0.29 =
128
  * Whitelist the polldaddy api key blog option so it can be updated by Jetpack.
129
  * Fix label on the poll settings page