Version Description
- Fix a minor PHP warning.
Download this release
Release Info
Developer | donncha |
Plugin | Crowdsignal Dashboard – Polls, Surveys & more |
Version | 2.2.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.0 to 2.2.1
- polldaddy-shortcode.php +1 -1
- polldaddy.php +1 -1
- readme.txt +5 -2
polldaddy-shortcode.php
CHANGED
@@ -448,7 +448,7 @@ if ( !function_exists( 'polldaddy_link' ) ) {
|
|
448 |
$textarr = wp_html_split( $content );
|
449 |
unset( $content );
|
450 |
foreach( $textarr as &$element ) {
|
451 |
-
if ( '' === $element || '<' === $element
|
452 |
continue;
|
453 |
$element = preg_replace( '!(?:\n|\A)https?://(polldaddy\.com/poll|poll\.fm)/([0-9]+?)(/.*)?(?:\n|\Z)!i', "\n<script type='text/javascript' charset='utf-8' src='//static.polldaddy.com/p/$2.js'></script><noscript> <a href='https://poll.fm/$2'>View Poll</a></noscript>\n", $element );
|
454 |
}
|
448 |
$textarr = wp_html_split( $content );
|
449 |
unset( $content );
|
450 |
foreach( $textarr as &$element ) {
|
451 |
+
if ( '' === $element || '<' === $element[0] )
|
452 |
continue;
|
453 |
$element = preg_replace( '!(?:\n|\A)https?://(polldaddy\.com/poll|poll\.fm)/([0-9]+?)(/.*)?(?:\n|\Z)!i', "\n<script type='text/javascript' charset='utf-8' src='//static.polldaddy.com/p/$2.js'></script><noscript> <a href='https://poll.fm/$2'>View Poll</a></noscript>\n", $element );
|
454 |
}
|
polldaddy.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Create and manage Crowdsignal polls and ratings in WordPress
|
6 |
* Author: Automattic, Inc.
|
7 |
* Author URL: https://crowdsignal.com/
|
8 |
-
* Version: 2.2.
|
9 |
*/
|
10 |
|
11 |
// To hardcode your Polldaddy PartnerGUID (API Key), add the (uncommented) line below with the PartnerGUID to your `wp-config.php`
|
5 |
* Description: Create and manage Crowdsignal polls and ratings in WordPress
|
6 |
* Author: Automattic, Inc.
|
7 |
* Author URL: https://crowdsignal.com/
|
8 |
+
* Version: 2.2.1
|
9 |
*/
|
10 |
|
11 |
// To hardcode your Polldaddy PartnerGUID (API Key), add the (uncommented) line below with the PartnerGUID to your `wp-config.php`
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: crowdsignal, polls, poll, polldaddy, wppolls, vote, polling, surveys, rate
|
|
4 |
Requires at least: 4.6
|
5 |
Requires PHP: 5.6
|
6 |
Tested up to: 5.6
|
7 |
-
Stable tag: 2.2.
|
8 |
|
9 |
Create and manage Crowdsignal polls and ratings from within WordPress.
|
10 |
|
@@ -122,10 +122,13 @@ This is possible if your server or network is blocking outgoing calls to Crowdsi
|
|
122 |
Make sure to whitelist `api.crowdsignal.com` in your firewall to fix this.
|
123 |
|
124 |
== Upgrade Notice ==
|
125 |
-
|
126 |
|
127 |
== Changelog ==
|
128 |
|
|
|
|
|
|
|
129 |
= 2.2.0 =
|
130 |
* Changed menu name from Feedback to Crowdsignal.
|
131 |
* Moved Poll and Rating settings under the Crowdsignal menu item.
|
4 |
Requires at least: 4.6
|
5 |
Requires PHP: 5.6
|
6 |
Tested up to: 5.6
|
7 |
+
Stable tag: 2.2.1
|
8 |
|
9 |
Create and manage Crowdsignal polls and ratings from within WordPress.
|
10 |
|
122 |
Make sure to whitelist `api.crowdsignal.com` in your firewall to fix this.
|
123 |
|
124 |
== Upgrade Notice ==
|
125 |
+
Minor bugfix
|
126 |
|
127 |
== Changelog ==
|
128 |
|
129 |
+
= 2.2.1 =
|
130 |
+
* Fix a minor PHP warning.
|
131 |
+
|
132 |
= 2.2.0 =
|
133 |
* Changed menu name from Feedback to Crowdsignal.
|
134 |
* Moved Poll and Rating settings under the Crowdsignal menu item.
|