Version Description
- Do not use Jetpack_Sync if deprecated
- Removed deprecated warnings
Download this release
Release Info
Developer | donncha |
Plugin | Crowdsignal Dashboard – Polls, Surveys & more |
Version | 2.0.33 |
Comparing to | |
See all releases |
Code changes from version 2.0.32 to 2.0.33
- polldaddy.php +8 -4
- readme.txt +6 -2
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
|
@@ -50,7 +50,11 @@ class WP_Polldaddy {
|
|
50 |
if ( $jetpack_active_modules && in_array( 'contact-form', $jetpack_active_modules ) )
|
51 |
$this->has_feedback_menu = true;
|
52 |
}
|
53 |
-
|
|
|
|
|
|
|
|
|
54 |
add_filter( 'jetpack_options_whitelist', array( $this, 'add_to_jetpack_options_whitelist' ) );
|
55 |
}
|
56 |
}
|
@@ -98,13 +102,13 @@ class WP_Polldaddy {
|
|
98 |
$capability = 'edit_posts';
|
99 |
$function = array( &$this, 'management_page' );
|
100 |
|
101 |
-
$hook =
|
102 |
add_action( "load-$hook", array( &$this, 'management_page_load' ) );
|
103 |
|
104 |
foreach( array( 'polls' => __( 'Polls', 'polldaddy' ), 'ratings' => __( 'Ratings', 'polldaddy' ) ) as $menu_slug => $page_title ) {
|
105 |
$menu_title = $page_title;
|
106 |
|
107 |
-
$hook =
|
108 |
add_action( "load-$hook", array( &$this, 'management_page_load' ) );
|
109 |
|
110 |
add_submenu_page( 'feedback', $page_title, $page_title, $capability, $menu_slug, $function );
|
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
|
50 |
if ( $jetpack_active_modules && in_array( 'contact-form', $jetpack_active_modules ) )
|
51 |
$this->has_feedback_menu = true;
|
52 |
}
|
53 |
+
|
54 |
+
if ( class_exists( 'Jetpack_Sync' ) && defined( 'JETPACK__VERSION' ) && version_compare( JETPACK__VERSION, '4.1', '<' ) ) {
|
55 |
+
Jetpack_Sync::sync_options( __FILE__, 'polldaddy_api_key' );
|
56 |
+
}
|
57 |
+
|
58 |
add_filter( 'jetpack_options_whitelist', array( $this, 'add_to_jetpack_options_whitelist' ) );
|
59 |
}
|
60 |
}
|
102 |
$capability = 'edit_posts';
|
103 |
$function = array( &$this, 'management_page' );
|
104 |
|
105 |
+
$hook = add_menu_page( __( 'Feedback', 'polldaddy' ), __( 'Feedback', 'polldaddy' ), $capability, 'feedback', $function, 'div' );
|
106 |
add_action( "load-$hook", array( &$this, 'management_page_load' ) );
|
107 |
|
108 |
foreach( array( 'polls' => __( 'Polls', 'polldaddy' ), 'ratings' => __( 'Ratings', 'polldaddy' ) ) as $menu_slug => $page_title ) {
|
109 |
$menu_title = $page_title;
|
110 |
|
111 |
+
$hook = add_menu_page( $menu_title, $menu_title, $capability, $menu_slug, $function, 'div' );
|
112 |
add_action( "load-$hook", array( &$this, 'management_page_load' ) );
|
113 |
|
114 |
add_submenu_page( 'feedback', $page_title, $page_title, $capability, $menu_slug, $function );
|
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.
|
6 |
-
Stable tag: 2.0.
|
7 |
|
8 |
Create and manage Polldaddy polls and ratings from within WordPress.
|
9 |
|
@@ -120,6 +120,10 @@ Fixed the "top ratings" widget on secure sites
|
|
120 |
|
121 |
== Changelog ==
|
122 |
|
|
|
|
|
|
|
|
|
123 |
= 2.0.32 =
|
124 |
* Fix xss vulnerability when adding Polldaddy links to post content
|
125 |
|
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 |
|
120 |
|
121 |
== Changelog ==
|
122 |
|
123 |
+
= 2.0.33 =
|
124 |
+
* Do not use Jetpack_Sync if deprecated
|
125 |
+
* Removed deprecated warnings
|
126 |
+
|
127 |
= 2.0.32 =
|
128 |
* Fix xss vulnerability when adding Polldaddy links to post content
|
129 |
|