Version Description
- Bug Fix: Fixed typo in API request URL
Download this release
Release Info
Developer | eoigal |
Plugin | Crowdsignal Dashboard – Polls, Surveys & more |
Version | 1.7.9 |
Comparing to | |
See all releases |
Code changes from version 1.7.8 to 1.7.9
- polldaddy-client.php +2 -2
- polldaddy-org.php +3 -3
- polldaddy.php +2 -2
- readme.txt +4 -1
polldaddy-client.php
CHANGED
@@ -4,10 +4,10 @@ require_once dirname( __FILE__ ) . '/polldaddy-xml.php';
|
|
4 |
|
5 |
// TODO: polls->poll should always be an array and similar bad typing
|
6 |
class api_client {
|
7 |
-
var $polldaddy_url = 'http://
|
8 |
var $partnerGUID;
|
9 |
var $userCode;
|
10 |
-
var $admin =
|
11 |
var $version = '1.0';
|
12 |
|
13 |
var $request = null;
|
4 |
|
5 |
// TODO: polls->poll should always be an array and similar bad typing
|
6 |
class api_client {
|
7 |
+
var $polldaddy_url = 'http://api.polldaddy.com/';
|
8 |
var $partnerGUID;
|
9 |
var $userCode;
|
10 |
+
var $admin = 0;
|
11 |
var $version = '1.0';
|
12 |
|
13 |
var $request = null;
|
polldaddy-org.php
CHANGED
@@ -55,7 +55,7 @@ class WPORG_PollDaddy extends WP_PollDaddy {
|
|
55 |
$polldaddy->update_partner_account( $partner );
|
56 |
|
57 |
update_option( 'polldaddy_multiple_accounts', $polldaddy_multiple_accounts );
|
58 |
-
}
|
59 |
break;
|
60 |
endswitch;
|
61 |
}
|
@@ -233,10 +233,10 @@ class WPORG_PollDaddy extends WP_PollDaddy {
|
|
233 |
}
|
234 |
|
235 |
function plugin_options_add(){
|
236 |
-
if(
|
237 |
$checked = '';
|
238 |
if ( $this->multiple_accounts )
|
239 |
-
$checked = 'checked="checked"';
|
240 |
?><tr class="form-field form-required">
|
241 |
<th valign="top" scope="row">
|
242 |
<label for="polldaddy-multiple-accounts">
|
55 |
$polldaddy->update_partner_account( $partner );
|
56 |
|
57 |
update_option( 'polldaddy_multiple_accounts', $polldaddy_multiple_accounts );
|
58 |
+
}
|
59 |
break;
|
60 |
endswitch;
|
61 |
}
|
233 |
}
|
234 |
|
235 |
function plugin_options_add(){
|
236 |
+
if( !$this->is_admin ) {
|
237 |
$checked = '';
|
238 |
if ( $this->multiple_accounts )
|
239 |
+
$checked = 'checked="checked"';
|
240 |
?><tr class="form-field form-required">
|
241 |
<th valign="top" scope="row">
|
242 |
<label for="polldaddy-multiple-accounts">
|
polldaddy.php
CHANGED
@@ -5,7 +5,7 @@ Plugin Name: PollDaddy Polls
|
|
5 |
Description: Create and manage PollDaddy polls and ratings in WordPress
|
6 |
Author: Automattic, Inc.
|
7 |
Author URL: http://automattic.com/
|
8 |
-
Version: 1.7.
|
9 |
*/
|
10 |
|
11 |
// You can hardcode your PollDaddy PartnerGUID (API Key) here
|
@@ -32,7 +32,7 @@ class WP_PollDaddy {
|
|
32 |
global $current_user;
|
33 |
$this->errors = new WP_Error;
|
34 |
$this->scheme = 'https';
|
35 |
-
$this->version = '1.7.
|
36 |
$this->multiple_accounts = true;
|
37 |
$this->polldaddy_client_class = 'api_client';
|
38 |
$this->polldaddy_clients = array();
|
5 |
Description: Create and manage PollDaddy polls and ratings in WordPress
|
6 |
Author: Automattic, Inc.
|
7 |
Author URL: http://automattic.com/
|
8 |
+
Version: 1.7.9
|
9 |
*/
|
10 |
|
11 |
// You can hardcode your PollDaddy PartnerGUID (API Key) here
|
32 |
global $current_user;
|
33 |
$this->errors = new WP_Error;
|
34 |
$this->scheme = 'https';
|
35 |
+
$this->version = '1.7.9';
|
36 |
$this->multiple_accounts = true;
|
37 |
$this->polldaddy_client_class = 'api_client';
|
38 |
$this->polldaddy_clients = array();
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: mdawaffe, eoigal
|
|
3 |
Tags: polls, poll, polldaddy, wppolls, vote, polling, surveys, rate, rating, ratings
|
4 |
Requires at least: 2.6
|
5 |
Tested up to: 2.9.1
|
6 |
-
Stable tag: 1.7.
|
7 |
|
8 |
Create and manage PollDaddy polls and ratings from within WordPress.
|
9 |
|
@@ -47,6 +47,9 @@ Yes. You'll be able to edit the polls they create from your blog. (You won't be
|
|
47 |
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.
|
48 |
|
49 |
== Change Log ==
|
|
|
|
|
|
|
50 |
= 1.7.8 =
|
51 |
* Added Options menu, that will allow users to set poll defaults settings, import another PollDaddy account and there is also a setting to allow each blog user to import their own PollDaddy account.
|
52 |
* Added the Top Rated widget.
|
3 |
Tags: polls, poll, polldaddy, wppolls, vote, polling, surveys, rate, rating, ratings
|
4 |
Requires at least: 2.6
|
5 |
Tested up to: 2.9.1
|
6 |
+
Stable tag: 1.7.9
|
7 |
|
8 |
Create and manage PollDaddy polls and ratings from within WordPress.
|
9 |
|
47 |
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.
|
48 |
|
49 |
== Change Log ==
|
50 |
+
= 1.7.9 =
|
51 |
+
* Bug Fix: Fixed typo in API request URL
|
52 |
+
|
53 |
= 1.7.8 =
|
54 |
* Added Options menu, that will allow users to set poll defaults settings, import another PollDaddy account and there is also a setting to allow each blog user to import their own PollDaddy account.
|
55 |
* Added the Top Rated widget.
|