Crowdsignal Dashboard – Polls, Surveys & more - Version 1.5

Version Description

Bug Fix: Other answers in the poll results are now displaying.

Download this release

Release Info

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

Code changes from version 1.4 to 1.5

Files changed (4) hide show
  1. poll-style-picker.js +7 -0
  2. polldaddy-client.php +1 -1
  3. polldaddy.php +3 -3
  4. readme.txt +6 -3
poll-style-picker.js CHANGED
@@ -63,6 +63,13 @@ s.w_id = 118;
63
  s.tag = 'st-skull-light';
64
  styles_array.push(s);
65
 
 
 
 
 
 
 
 
66
  var s = new pd_style;
67
  s.name = 'Plastic White';
68
  s.n_id = 119;
63
  s.tag = 'st-skull-light';
64
  styles_array.push(s);
65
 
66
+ var s = new pd_style;
67
+ s.name = 'Micro';
68
+ s.m_id = 157;
69
+ s.m_desc = 'Width 150px. The micro style is useful when space is tight.';
70
+ s.tag = 'st-micro';
71
+ styles_array.push(s);
72
+
73
  var s = new pd_style;
74
  s.name = 'Plastic White';
75
  s.n_id = 119;
polldaddy-client.php CHANGED
@@ -445,7 +445,7 @@ class PollDaddy_Client {
445
  if ( is_array( $demand->result->otherAnswers->otherAnswer ) )
446
  $others = $demand->result->otherAnswers->otherAnswer;
447
  else
448
- $others = array( $demand->result->otherAnswers->othernswer );
449
  }
450
  }
451
  return (object) compact( 'answers', 'others' );
445
  if ( is_array( $demand->result->otherAnswers->otherAnswer ) )
446
  $others = $demand->result->otherAnswers->otherAnswer;
447
  else
448
+ $others = array( $demand->result->otherAnswers->otherAnswer );
449
  }
450
  }
451
  return (object) compact( 'answers', 'others' );
polldaddy.php CHANGED
@@ -5,7 +5,7 @@ Plugin Name: PollDaddy Polls
5
  Description: Create and manage PollDaddy polls in WordPress
6
  Author: Automattic, Inc.
7
  Author URL: http://automattic.com/
8
- Version: 1.4
9
  */
10
 
11
  // You can hardcode your PollDaddy PartnerGUID (API Key) here
@@ -24,7 +24,7 @@ class WP_PollDaddy {
24
  var $base_url = false;
25
  var $use_ssl = 0;
26
  var $scheme = 'https';
27
- var $version = '1.4';
28
 
29
  var $polldaddy_clients = array();
30
 
@@ -579,7 +579,7 @@ class WP_PollDaddy {
579
  }
580
  }
581
  $poll_data['styleID'] = $_POST['styleID'];
582
-
583
  $poll = $polldaddy->CreatePoll( $poll_data );
584
  $this->parse_errors( $polldaddy );
585
 
5
  Description: Create and manage PollDaddy polls in WordPress
6
  Author: Automattic, Inc.
7
  Author URL: http://automattic.com/
8
+ Version: 1.5
9
  */
10
 
11
  // You can hardcode your PollDaddy PartnerGUID (API Key) here
24
  var $base_url = false;
25
  var $use_ssl = 0;
26
  var $scheme = 'https';
27
+ var $version = '1.5';
28
 
29
  var $polldaddy_clients = array();
30
 
579
  }
580
  }
581
  $poll_data['styleID'] = $_POST['styleID'];
582
+
583
  $poll = $polldaddy->CreatePoll( $poll_data );
584
  $this->parse_errors( $polldaddy );
585
 
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
- === PollDaddy ===
2
  Contributors: mdawaffe, eoigal
3
- Tags: poll, polls, polldaddy, WordPress.com
4
  Requires at least: 2.6
5
  Tested up to: 2.7.1
6
- Stable tag: 1.4
7
 
8
  Create and manage PollDaddy polls from within WordPress.
9
 
@@ -32,6 +32,9 @@ Yes. You'll be able to edit the polls they create from your blog. (You won't be
32
  Nope. The permissions are the same as for posts. So Editors and Administrators can edit anyone's polls for that blog. Authors can only edit their own.
33
 
34
  == Change Log ==
 
 
 
35
  = 1.4 =
36
  * Added new poll styles selector
37
 
1
+ === PollDaddy Polls ===
2
  Contributors: mdawaffe, eoigal
3
+ Tags: polls, poll, polldaddy, wppolls, vote, polling, surveys
4
  Requires at least: 2.6
5
  Tested up to: 2.7.1
6
+ Stable tag: 1.5
7
 
8
  Create and manage PollDaddy polls from within WordPress.
9
 
32
  Nope. The permissions are the same as for posts. So Editors and Administrators can edit anyone's polls for that blog. Authors can only edit their own.
33
 
34
  == Change Log ==
35
+ = 1.5 =
36
+ Bug Fix: Other answers in the poll results are now displaying.
37
+
38
  = 1.4 =
39
  * Added new poll styles selector
40