Crowdsignal Dashboard – Polls, Surveys & more - Version 2.0.34

Version Description

  • Renamed class constructors so they don't become a problem in a future version of PHP
  • Checked the type of $comment in rating.php to avoid PHP notices
Download this release

Release Info

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

Code changes from version 2.0.33 to 2.0.34

Files changed (4) hide show
  1. polldaddy-xml.php +2 -2
  2. polldaddy.php +1 -1
  3. rating.php +1 -1
  4. readme.txt +7 -3
polldaddy-xml.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  class Ghetto_XML_Object {
4
- function Ghetto_XML_Object( $args = null, $attributes = null ) {
5
  if ( get_object_vars( $this ) )
6
  $this->___restrict = true;
7
  else
@@ -658,7 +658,7 @@ class Polldaddy_XML_Parser {
658
 
659
  var $objects = array();
660
 
661
- function Polldaddy_XML_Parser( $xml = null ) {
662
  if ( is_null( $xml ) )
663
  return;
664
 
1
  <?php
2
 
3
  class Ghetto_XML_Object {
4
+ function __construct( $args = null, $attributes = null ) {
5
  if ( get_object_vars( $this ) )
6
  $this->___restrict = true;
7
  else
658
 
659
  var $objects = array();
660
 
661
+ function __construct( $xml = null ) {
662
  if ( is_null( $xml ) )
663
  return;
664
 
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.33
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.34
10
  */
11
 
12
  // You can hardcode your Polldaddy PartnerGUID (API Key) here
rating.php CHANGED
@@ -4,7 +4,7 @@ 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' ) ) {
4
  die( "Cheatin' eh?" );
5
 
6
  function polldaddy_show_rating_comments( $content, $comment = 0, $args = 0 ) {
7
+ if ( is_numeric( $comment ) && $comment == 0 )
8
  return $content;
9
 
10
  if ( !is_feed() && !defined( 'DOING_AJAX' ) ) {
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: eoigal, mdawaffe, donncha, johnny5, panosktn
3
  Tags: polls, poll, polldaddy, wppolls, vote, polling, surveys, rate, rating, ratings
4
  Requires at least: 3.3
5
- Tested up to: 4.7
6
- Stable tag: 2.0.33
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
- Fixed the "top ratings" widget on secure sites
120
 
121
  == Changelog ==
122
 
 
 
 
 
123
  = 2.0.33 =
124
  * Do not use Jetpack_Sync if deprecated
125
  * Removed deprecated warnings
2
  Contributors: eoigal, mdawaffe, donncha, johnny5, panosktn
3
  Tags: polls, poll, polldaddy, wppolls, vote, polling, surveys, rate, rating, ratings
4
  Requires at least: 3.3
5
+ Tested up to: 4.7.1
6
+ Stable tag: 2.0.34
7
 
8
  Create and manage Polldaddy polls and ratings from within WordPress.
9
 
116
 
117
 
118
  == Upgrade Notice ==
119
+ Fixed a class constructor warning, and a rating comments PHP notice
120
 
121
  == Changelog ==
122
 
123
+ = 2.0.34 =
124
+ * Renamed class constructors so they don't become a problem in a future version of PHP
125
+ * Checked the type of $comment in rating.php to avoid PHP notices
126
+
127
  = 2.0.33 =
128
  * Do not use Jetpack_Sync if deprecated
129
  * Removed deprecated warnings