Version Description
N/A
Download this release
Release Info
Developer | kucaahbe |
Plugin | Poll, Survey, Quiz, Slideshow, Form, Story & Landing Page |
Version | 18.0.5 |
Comparing to | |
See all releases |
Code changes from version 18.0.4 to 18.0.5
- admin/init.php +0 -4
- opinionstage-polls.php +4 -2
- admin/widget.php → opinionstage-sidebar-widget.php +6 -6
- readme.txt +3 -1
admin/init.php
CHANGED
@@ -2,10 +2,6 @@
|
|
2 |
// block direct access to plugin PHP files:
|
3 |
defined( 'ABSPATH' ) or die();
|
4 |
|
5 |
-
require_once( plugin_dir_path( __FILE__ ).'widget.php' );
|
6 |
-
|
7 |
-
add_action('widgets_init', 'opinionstage_init_widget');
|
8 |
-
|
9 |
// Side menu
|
10 |
add_action('admin_menu', 'opinionstage_poll_menu');
|
11 |
add_action('admin_enqueue_scripts', 'opinionstage_load_scripts');
|
2 |
// block direct access to plugin PHP files:
|
3 |
defined( 'ABSPATH' ) or die();
|
4 |
|
|
|
|
|
|
|
|
|
5 |
// Side menu
|
6 |
add_action('admin_menu', 'opinionstage_poll_menu');
|
7 |
add_action('admin_enqueue_scripts', 'opinionstage_load_scripts');
|
opinionstage-polls.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Poll, Survey, Quiz, Slideshow & Form Builder
|
4 |
Plugin URI: http://www.opinionstage.com
|
5 |
Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
|
6 |
-
Version: 18.0.
|
7 |
Author: OpinionStage.com
|
8 |
Author URI: http://www.opinionstage.com
|
9 |
Text Domain: social-polls-by-opinionstage
|
@@ -13,7 +13,7 @@ Text Domain: social-polls-by-opinionstage
|
|
13 |
defined( 'ABSPATH' ) or die();
|
14 |
|
15 |
define('OPINIONSTAGE_SERVER_BASE', "www.opinionstage.com"); /* Don't include the protocol, added dynamically */
|
16 |
-
define('OPINIONSTAGE_WIDGET_VERSION', '18.0.
|
17 |
define('OPINIONSTAGE_WIDGET_PLUGIN_NAME', 'Poll, Survey, Quiz, Slideshow & Form Builder');
|
18 |
define('OPINIONSTAGE_WIDGET_API_KEY', 'wp35e8');
|
19 |
define('OPINIONSTAGE_OPTIONS_KEY', 'opinionstage_widget');
|
@@ -36,6 +36,7 @@ if (opinionstage_check_plugin_available('opinionstage_popup')) {
|
|
36 |
require_once(WP_PLUGIN_DIR."/".OPINIONSTAGE_WIDGET_UNIQUE_ID."/opinionstage-utility-functions.php");
|
37 |
require_once(WP_PLUGIN_DIR."/".OPINIONSTAGE_WIDGET_UNIQUE_ID."/opinionstage-ajax-functions.php");
|
38 |
require_once(WP_PLUGIN_DIR."/".OPINIONSTAGE_WIDGET_UNIQUE_ID."/opinionstage-article-placement-functions.php");
|
|
|
39 |
|
40 |
if ( is_admin() ) {
|
41 |
require( plugin_dir_path( __FILE__ ).'admin/init.php' );
|
@@ -43,6 +44,7 @@ if (opinionstage_check_plugin_available('opinionstage_popup')) {
|
|
43 |
require( plugin_dir_path( __FILE__ ).'site/init.php' );
|
44 |
}
|
45 |
|
|
|
46 |
add_action('plugins_loaded', 'opinionstage_init');
|
47 |
}
|
48 |
?>
|
3 |
Plugin Name: Poll, Survey, Quiz, Slideshow & Form Builder
|
4 |
Plugin URI: http://www.opinionstage.com
|
5 |
Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
|
6 |
+
Version: 18.0.5
|
7 |
Author: OpinionStage.com
|
8 |
Author URI: http://www.opinionstage.com
|
9 |
Text Domain: social-polls-by-opinionstage
|
13 |
defined( 'ABSPATH' ) or die();
|
14 |
|
15 |
define('OPINIONSTAGE_SERVER_BASE', "www.opinionstage.com"); /* Don't include the protocol, added dynamically */
|
16 |
+
define('OPINIONSTAGE_WIDGET_VERSION', '18.0.5');
|
17 |
define('OPINIONSTAGE_WIDGET_PLUGIN_NAME', 'Poll, Survey, Quiz, Slideshow & Form Builder');
|
18 |
define('OPINIONSTAGE_WIDGET_API_KEY', 'wp35e8');
|
19 |
define('OPINIONSTAGE_OPTIONS_KEY', 'opinionstage_widget');
|
36 |
require_once(WP_PLUGIN_DIR."/".OPINIONSTAGE_WIDGET_UNIQUE_ID."/opinionstage-utility-functions.php");
|
37 |
require_once(WP_PLUGIN_DIR."/".OPINIONSTAGE_WIDGET_UNIQUE_ID."/opinionstage-ajax-functions.php");
|
38 |
require_once(WP_PLUGIN_DIR."/".OPINIONSTAGE_WIDGET_UNIQUE_ID."/opinionstage-article-placement-functions.php");
|
39 |
+
require_once( plugin_dir_path( __FILE__ ).'opinionstage-sidebar-widget.php' );
|
40 |
|
41 |
if ( is_admin() ) {
|
42 |
require( plugin_dir_path( __FILE__ ).'admin/init.php' );
|
44 |
require( plugin_dir_path( __FILE__ ).'site/init.php' );
|
45 |
}
|
46 |
|
47 |
+
add_action('widgets_init', 'opinionstage_init_widget');
|
48 |
add_action('plugins_loaded', 'opinionstage_init');
|
49 |
}
|
50 |
?>
|
admin/widget.php → opinionstage-sidebar-widget.php
RENAMED
@@ -55,6 +55,12 @@ defined( 'ABSPATH' ) or die();
|
|
55 |
* Generates the admin form for the widget.
|
56 |
*/
|
57 |
function form($instance) {
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
$os_options = (array) get_option(OPINIONSTAGE_OPTIONS_KEY);
|
59 |
$title = isset($instance['title']) ? esc_attr($instance['title']) : '';
|
60 |
$enabled = $os_options['sidebar_placement_active'] == 'true' ? '1' : '';
|
@@ -135,11 +141,5 @@ defined( 'ABSPATH' ) or die();
|
|
135 |
*/
|
136 |
function opinionstage_init_widget() {
|
137 |
register_widget('OpinionStageWidget');
|
138 |
-
|
139 |
-
opinionstage_register_css_asset( 'icon-font', 'icon-font.css' );
|
140 |
-
opinionstage_register_css_asset( 'sidebar-widget', 'sidebar-widget.css' );
|
141 |
-
|
142 |
-
opinionstage_enqueue_css_asset('icon-font');
|
143 |
-
opinionstage_enqueue_css_asset('sidebar-widget');
|
144 |
}
|
145 |
?>
|
55 |
* Generates the admin form for the widget.
|
56 |
*/
|
57 |
function form($instance) {
|
58 |
+
opinionstage_register_css_asset( 'icon-font', 'icon-font.css' );
|
59 |
+
opinionstage_register_css_asset( 'sidebar-widget', 'sidebar-widget.css' );
|
60 |
+
|
61 |
+
opinionstage_enqueue_css_asset('icon-font');
|
62 |
+
opinionstage_enqueue_css_asset('sidebar-widget');
|
63 |
+
|
64 |
$os_options = (array) get_option(OPINIONSTAGE_OPTIONS_KEY);
|
65 |
$title = isset($instance['title']) ? esc_attr($instance['title']) : '';
|
66 |
$enabled = $os_options['sidebar_placement_active'] == 'true' ? '1' : '';
|
141 |
*/
|
142 |
function opinionstage_init_widget() {
|
143 |
register_widget('OpinionStageWidget');
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
}
|
145 |
?>
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: poll plugin, quiz plugin, survey plugin, form builder, slideshow, slider,
|
|
6 |
|
7 |
Requires at least: 2.8
|
8 |
Tested up to: 4.7
|
9 |
-
Stable tag: 18.0.
|
10 |
|
11 |
Add a poll, survey, quiz, slideshow & form builder plugin. Easily add a beautiful poll, survey, quiz, slideshow or form to your site.
|
12 |
|
@@ -283,6 +283,8 @@ You can create many different types of quizzes: Trivia quiz, personality quiz, i
|
|
283 |
N/A
|
284 |
|
285 |
== Changelog ==
|
|
|
|
|
286 |
= Poll, Survey, Quiz, Slideshow & Form Builder Version 18.0.4 =
|
287 |
* prevent internal font icon leak into site area
|
288 |
= Poll, Survey, Quiz, Slideshow & Form Builder Version 18.0.3 =
|
6 |
|
7 |
Requires at least: 2.8
|
8 |
Tested up to: 4.7
|
9 |
+
Stable tag: 18.0.5
|
10 |
|
11 |
Add a poll, survey, quiz, slideshow & form builder plugin. Easily add a beautiful poll, survey, quiz, slideshow or form to your site.
|
12 |
|
283 |
N/A
|
284 |
|
285 |
== Changelog ==
|
286 |
+
= Poll, Survey, Quiz, Slideshow & Form Builder Version 18.0.5 =
|
287 |
+
* sidebar widget fix
|
288 |
= Poll, Survey, Quiz, Slideshow & Form Builder Version 18.0.4 =
|
289 |
* prevent internal font icon leak into site area
|
290 |
= Poll, Survey, Quiz, Slideshow & Form Builder Version 18.0.3 =
|