Version Description
- Fixed the "top ratings" widget on secure sites
Download this release
Release Info
Developer | donncha |
Plugin | Crowdsignal Dashboard – Polls, Surveys & more |
Version | 2.0.31 |
Comparing to | |
See all releases |
Code changes from version 2.0.30 to 2.0.31
- polldaddy-org.php +5 -1
- polldaddy.php +1 -1
- readme.txt +6 -3
polldaddy-org.php
CHANGED
@@ -1002,10 +1002,14 @@ if ( class_exists( 'WP_Widget' ) ) {
|
|
1002 |
|
1003 |
echo '</script>';
|
1004 |
|
|
|
|
|
|
|
|
|
1005 |
$widget = <<<EOD
|
1006 |
{$before_title}{$title}{$after_title}
|
1007 |
<div id="pd_top_rated_holder" class="pd_top_rated_holder_{$widget_class}"></div>
|
1008 |
-
<script language="javascript" charset="UTF-8" src="
|
1009 |
<script type="text/javascript" charset="UTF-8"><!--//--><![CDATA[//><!--
|
1010 |
PDRTJS_TOP = new PDRTJS_RATING_TOP( {$posts_rating_id}, {$pages_rating_id}, {$comments_rating_id}, '{$rating_seq}', {$instance['item_count']} );{$filter}{$show}
|
1011 |
//--><!]]></script>
|
1002 |
|
1003 |
echo '</script>';
|
1004 |
|
1005 |
+
if ( is_ssl() )
|
1006 |
+
$rating_js_file = "https://polldaddy.com/js/rating/rating-top.js";
|
1007 |
+
else
|
1008 |
+
$rating_js_file = "http://i0.poll.fm/js/rating/rating-top.js";
|
1009 |
$widget = <<<EOD
|
1010 |
{$before_title}{$title}{$after_title}
|
1011 |
<div id="pd_top_rated_holder" class="pd_top_rated_holder_{$widget_class}"></div>
|
1012 |
+
<script language="javascript" charset="UTF-8" src="{$rating_js_file}"></script>
|
1013 |
<script type="text/javascript" charset="UTF-8"><!--//--><![CDATA[//><!--
|
1014 |
PDRTJS_TOP = new PDRTJS_RATING_TOP( {$posts_rating_id}, {$pages_rating_id}, {$comments_rating_id}, '{$rating_seq}', {$instance['item_count']} );{$filter}{$show}
|
1015 |
//--><!]]></script>
|
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.
|
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.31
|
10 |
*/
|
11 |
|
12 |
// You can hardcode your Polldaddy PartnerGUID (API Key) here
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Polldaddy Polls & Ratings ===
|
2 |
-
Contributors: eoigal,
|
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.
|
7 |
|
8 |
Create and manage Polldaddy polls and ratings from within WordPress.
|
9 |
|
@@ -116,10 +116,13 @@ Your theme is getting the post content, without necessarily showing it. If the p
|
|
116 |
|
117 |
|
118 |
== Upgrade Notice ==
|
119 |
-
Fixed
|
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.
|
1 |
=== Polldaddy Polls & Ratings ===
|
2 |
+
Contributors: eoigal, 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.31
|
7 |
|
8 |
Create and manage Polldaddy polls and ratings from within WordPress.
|
9 |
|
116 |
|
117 |
|
118 |
== Upgrade Notice ==
|
119 |
+
Fixed the "top ratings" widget on secure sites
|
120 |
|
121 |
== Changelog ==
|
122 |
|
123 |
+
= 2.0.31 =
|
124 |
+
* Fixed the "top ratings" widget on secure sites
|
125 |
+
|
126 |
= 2.0.30 =
|
127 |
* When ratings are displayed at the top of a post separate it with a linebreak, not BR so YT URLs embed properly.
|
128 |
* Fix "parameter missing" when submitting comments when comment ratings are enabled.
|