Poll, Survey, Quiz, Slideshow, Form, Story & Landing Page - Version 19.6.25

Version Description

  • security fixes
Download this release

Release Info

Developer kucaahbe
Plugin Icon 128x128 Poll, Survey, Quiz, Slideshow, Form, Story & Landing Page
Version 19.6.25
Comparing to
See all releases

Code changes from version 19.6.24 to 19.6.25

admin/admin-page-loader.php CHANGED
@@ -29,11 +29,6 @@ class OpinionStageAdminPageLoader {
29
  $this->OSAPL_Debug('OSAPL: Not OpinionStage Page. Loading Content Popup File.');
30
  // Load content popup javascript
31
  include_once( plugin_dir_path( __FILE__ ).'content-popup.php' );
32
- // Load Hotjar script for user data tracking
33
- $oswpHotjarNewPost = basename($_SERVER['REQUEST_URI'], '?' . $_SERVER['QUERY_STRING']);
34
- if($oswpHotjarNewPost == 'post-new.php' || $oswpHotjarNewPost == 'post.php' || $oswpHotjarNewPost == 'plugins.php'){
35
- include_once( plugin_dir_path( __FILE__ ).'opinionstage-usage-tracking-code.php' );
36
- }
37
  }
38
  }
39
 
29
  $this->OSAPL_Debug('OSAPL: Not OpinionStage Page. Loading Content Popup File.');
30
  // Load content popup javascript
31
  include_once( plugin_dir_path( __FILE__ ).'content-popup.php' );
 
 
 
 
 
32
  }
33
  }
34
 
admin/deactivate-feedback.php DELETED
@@ -1,17 +0,0 @@
1
- <?php
2
- // block direct access to plugin PHP files:
3
- defined( 'ABSPATH' ) or die();
4
-
5
- add_action('admin_footer', 'add_deactivate_feedback_form');
6
-
7
- function add_deactivate_feedback_form() {
8
- $current_screen = get_current_screen();
9
-
10
- if ( 'plugins' !== $current_screen->id && 'plugins-network' !== $current_screen->id ) {
11
- return;
12
- }
13
-
14
- include 'views/deactivate-feedback-form.php';
15
- }
16
-
17
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/init.php CHANGED
@@ -6,10 +6,8 @@ require( plugin_dir_path( __FILE__ ).'opinionstage-login-callback.php' );
6
  require( plugin_dir_path( __FILE__ ).'opinionstage-disconnect.php' );
7
  require( plugin_dir_path( __FILE__ ).'opinionstage-content-login-callback.php' );
8
  require( plugin_dir_path( __FILE__ ).'menu-page.php' );
9
- require( plugin_dir_path( __FILE__ ).'deactivate-feedback.php' );
10
  require( plugin_dir_path( __FILE__ ).'admin-page-loader.php' );
11
  require( plugin_dir_path( __FILE__ ).'menu-target.php' );
12
- require( plugin_dir_path( __FILE__ ).'opinionstage-tracking-user-notice.php' );
13
  require( plugin_dir_path( __FILE__ ).'message-handler.php' );
14
 
15
  ?>
6
  require( plugin_dir_path( __FILE__ ).'opinionstage-disconnect.php' );
7
  require( plugin_dir_path( __FILE__ ).'opinionstage-content-login-callback.php' );
8
  require( plugin_dir_path( __FILE__ ).'menu-page.php' );
 
9
  require( plugin_dir_path( __FILE__ ).'admin-page-loader.php' );
10
  require( plugin_dir_path( __FILE__ ).'menu-target.php' );
 
11
  require( plugin_dir_path( __FILE__ ).'message-handler.php' );
12
 
13
  ?>
admin/menu-page.php CHANGED
@@ -22,7 +22,6 @@ function opinionstage_register_menu_page() {
22
  add_submenu_page(OPINIONSTAGE_VIEW_ITEM_SLUG, 'Create...', 'Create...', 'edit_posts', OPINIONSTAGE_MENU_SLUG, 'opinionstage_load_template');
23
  add_submenu_page(OPINIONSTAGE_VIEW_ITEM_SLUG, 'Placements', 'Placements', 'edit_posts', OPINIONSTAGE_PLACEMENT_SLUG , 'opinionstage_load_template' );
24
  add_submenu_page(OPINIONSTAGE_VIEW_ITEM_SLUG, 'Getting Started', 'Getting Started', 'edit_posts', OPINIONSTAGE_GETTING_STARTED_SLUG,'opinionstage_load_template' );
25
- add_submenu_page(OPINIONSTAGE_VIEW_ITEM_SLUG, 'Settings', 'Settings', 'edit_posts', 'opinionstage-settings-track','opinionstage_load_template');
26
  add_submenu_page(OPINIONSTAGE_VIEW_ITEM_SLUG, 'Help Center', 'Help Center', 'edit_posts', 'https://help.opinionstage.com/wordpress-plugin?utm_campaign=WPMainPI&utm_medium=linkhelpcenter&utm_source=wordpress&o=wp35e8' );
27
  }
28
  else {
@@ -39,7 +38,6 @@ function opinionstage_register_menu_page() {
39
  add_submenu_page(OPINIONSTAGE_MENU_SLUG, 'View My Items', 'My Items', 'edit_posts','opinionstage-view-my-items','opinionstage_load_template');
40
  add_submenu_page(OPINIONSTAGE_MENU_SLUG, 'Placements', 'Placements', 'edit_posts', OPINIONSTAGE_PLACEMENT_SLUG , 'opinionstage_load_template' );
41
  add_submenu_page(OPINIONSTAGE_MENU_SLUG, 'Getting Started', 'Getting Started', 'edit_posts', OPINIONSTAGE_GETTING_STARTED_SLUG,'opinionstage_load_template' );
42
- add_submenu_page(OPINIONSTAGE_MENU_SLUG, 'Settings', 'Settings', 'edit_posts', 'opinionstage-settings-track','opinionstage_load_template');
43
  add_submenu_page(OPINIONSTAGE_MENU_SLUG, 'Help Center', 'Help Center', 'edit_posts', 'https://help.opinionstage.com/wordpress-plugin?utm_campaign=WPMainPI&utm_medium=linkhelpcenter&utm_source=wordpress&o=wp35e8' );
44
  }
45
  }else{
@@ -55,7 +53,6 @@ function opinionstage_register_menu_page() {
55
  add_submenu_page(OPINIONSTAGE_GETTING_STARTED_SLUG, 'Getting Started', 'Getting Started', 'edit_posts', OPINIONSTAGE_GETTING_STARTED_SLUG,'opinionstage_load_template' );
56
  add_submenu_page(OPINIONSTAGE_GETTING_STARTED_SLUG, 'Create...', 'Create...', 'edit_posts', OPINIONSTAGE_MENU_SLUG, 'opinionstage_load_template');
57
  add_submenu_page(OPINIONSTAGE_GETTING_STARTED_SLUG, 'Placements', 'Placements', 'edit_posts', OPINIONSTAGE_PLACEMENT_SLUG , 'opinionstage_load_template' );
58
- add_submenu_page(OPINIONSTAGE_GETTING_STARTED_SLUG, 'Settings', 'Settings', 'edit_posts', 'opinionstage-settings-track','opinionstage_load_template');
59
  add_submenu_page(OPINIONSTAGE_GETTING_STARTED_SLUG, 'Help Center', 'Help Center', 'edit_posts', 'https://help.opinionstage.com/wordpress-plugin?utm_campaign=WPMainPI&utm_medium=linkhelpcenter&utm_source=wordpress&o=wp35e8' );
60
  }
61
  }
22
  add_submenu_page(OPINIONSTAGE_VIEW_ITEM_SLUG, 'Create...', 'Create...', 'edit_posts', OPINIONSTAGE_MENU_SLUG, 'opinionstage_load_template');
23
  add_submenu_page(OPINIONSTAGE_VIEW_ITEM_SLUG, 'Placements', 'Placements', 'edit_posts', OPINIONSTAGE_PLACEMENT_SLUG , 'opinionstage_load_template' );
24
  add_submenu_page(OPINIONSTAGE_VIEW_ITEM_SLUG, 'Getting Started', 'Getting Started', 'edit_posts', OPINIONSTAGE_GETTING_STARTED_SLUG,'opinionstage_load_template' );
 
25
  add_submenu_page(OPINIONSTAGE_VIEW_ITEM_SLUG, 'Help Center', 'Help Center', 'edit_posts', 'https://help.opinionstage.com/wordpress-plugin?utm_campaign=WPMainPI&utm_medium=linkhelpcenter&utm_source=wordpress&o=wp35e8' );
26
  }
27
  else {
38
  add_submenu_page(OPINIONSTAGE_MENU_SLUG, 'View My Items', 'My Items', 'edit_posts','opinionstage-view-my-items','opinionstage_load_template');
39
  add_submenu_page(OPINIONSTAGE_MENU_SLUG, 'Placements', 'Placements', 'edit_posts', OPINIONSTAGE_PLACEMENT_SLUG , 'opinionstage_load_template' );
40
  add_submenu_page(OPINIONSTAGE_MENU_SLUG, 'Getting Started', 'Getting Started', 'edit_posts', OPINIONSTAGE_GETTING_STARTED_SLUG,'opinionstage_load_template' );
 
41
  add_submenu_page(OPINIONSTAGE_MENU_SLUG, 'Help Center', 'Help Center', 'edit_posts', 'https://help.opinionstage.com/wordpress-plugin?utm_campaign=WPMainPI&utm_medium=linkhelpcenter&utm_source=wordpress&o=wp35e8' );
42
  }
43
  }else{
53
  add_submenu_page(OPINIONSTAGE_GETTING_STARTED_SLUG, 'Getting Started', 'Getting Started', 'edit_posts', OPINIONSTAGE_GETTING_STARTED_SLUG,'opinionstage_load_template' );
54
  add_submenu_page(OPINIONSTAGE_GETTING_STARTED_SLUG, 'Create...', 'Create...', 'edit_posts', OPINIONSTAGE_MENU_SLUG, 'opinionstage_load_template');
55
  add_submenu_page(OPINIONSTAGE_GETTING_STARTED_SLUG, 'Placements', 'Placements', 'edit_posts', OPINIONSTAGE_PLACEMENT_SLUG , 'opinionstage_load_template' );
 
56
  add_submenu_page(OPINIONSTAGE_GETTING_STARTED_SLUG, 'Help Center', 'Help Center', 'edit_posts', 'https://help.opinionstage.com/wordpress-plugin?utm_campaign=WPMainPI&utm_medium=linkhelpcenter&utm_source=wordpress&o=wp35e8' );
57
  }
58
  }
admin/opinionstage-content-login-callback.php CHANGED
@@ -14,41 +14,44 @@ function opinionstage_register_login_content_callback_page() {
14
  '',
15
  '',
16
  'edit_posts',
17
- 'opinionstage-content-login-callback-page'
18
  );
19
  }
20
  }
21
 
22
  // performs redirect to content page with opened modal, after user logged in
23
  function opinionstage_login_content_callback() {
24
- if ( 'opinionstage-content-login-callback-page' == filter_input( INPUT_GET, 'page' ) ) {
25
- $success = $_GET['success'];
26
- $uid = $_GET['uid'];
27
- $token = $_GET['token'];
28
- $email = $_GET['email'];
29
- $fly_id = $_GET['fly_id'];
30
- $article_placement_id = $_GET['article_placement_id'];
31
- $sidebar_placement_id = $_GET['sidebar_placement_id'];
32
- $redirect_url = urldecode($_GET['return_path']);
33
-
34
- delete_option(OPINIONSTAGE_OPTIONS_KEY);
35
-
36
- opinionstage_parse_client_data(
37
- compact(
38
- 'success',
39
- 'uid',
40
- 'token',
41
- 'email',
42
- 'fly_id',
43
- 'article_placement_id',
44
- 'sidebar_placement_id'
45
- )
46
- );
47
 
48
- error_log('[opinionstage plugin] user logged in, redirect to '.$redirect_url);
49
- if ( wp_redirect( $redirect_url, 302 ) ) {
50
- exit;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  }
52
- }
53
  }
54
- ?>
14
  '',
15
  '',
16
  'edit_posts',
17
+ OPINIONSTAGE_CONTENT_LOGIN_CALLBACK_SLUG
18
  );
19
  }
20
  }
21
 
22
  // performs redirect to content page with opened modal, after user logged in
23
  function opinionstage_login_content_callback() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
+ // Make sure user is logged in and have edit posts cap
26
+
27
+ if ( OPINIONSTAGE_CONTENT_LOGIN_CALLBACK_SLUG == filter_input( INPUT_GET, 'page' ) && is_user_logged_in() && current_user_can('edit_posts') ) {
28
+ $success = sanitize_text_field($_GET['success']);
29
+ $uid = intval($_GET['uid']);
30
+ $token = sanitize_text_field($_GET['token']);
31
+ $email = sanitize_email($_GET['email']);
32
+ $fly_id = intval($_GET['fly_id']);
33
+ $article_placement_id = intval($_GET['article_placement_id']);
34
+ $sidebar_placement_id = intval($_GET['sidebar_placement_id']);
35
+ $redirect_url = urldecode($_GET['return_path']);
36
+
37
+ delete_option(OPINIONSTAGE_OPTIONS_KEY);
38
+
39
+ opinionstage_parse_client_data(
40
+ compact(
41
+ 'success',
42
+ 'uid',
43
+ 'token',
44
+ 'email',
45
+ 'fly_id',
46
+ 'article_placement_id',
47
+ 'sidebar_placement_id'
48
+ )
49
+ );
50
+
51
+ error_log('[opinionstage plugin] user logged in, redirect to '.$redirect_url);
52
+ if ( wp_redirect( $redirect_url, 302 ) ) {
53
+ exit;
54
+ }
55
  }
 
56
  }
57
+ ?>
admin/opinionstage-login-callback.php CHANGED
@@ -21,34 +21,39 @@ function opinionstage_register_login_callback_page() {
21
 
22
  // performs redirect to plugin settings page, after user logged in
23
  function opinionstage_login_callback() {
24
- if ( OPINIONSTAGE_LOGIN_CALLBACK_SLUG == filter_input( INPUT_GET, 'page' ) ) {
25
- $success = $_GET['success'];
26
- $uid = $_GET['uid'];
27
- $token = $_GET['token'];
28
- $email = $_GET['email'];
29
- $fly_id = $_GET['fly_id'];
30
- $article_placement_id = $_GET['article_placement_id'];
31
- $sidebar_placement_id = $_GET['sidebar_placement_id'];
32
-
33
- opinionstage_uninstall();
34
- opinionstage_parse_client_data(
35
- compact(
36
- 'success',
37
- 'uid',
38
- 'token',
39
- 'email',
40
- 'fly_id',
41
- 'article_placement_id',
42
- 'sidebar_placement_id'
43
- )
44
- );
 
 
 
 
45
 
46
 
47
- $redirect_url = get_admin_url(null, '', 'admin').'admin.php?page='.OPINIONSTAGE_MENU_SLUG;
48
 
49
- error_log('[opinionstage plugin] user logged in, redirect to '.$redirect_url);
50
- if ( wp_redirect( $redirect_url, 302 ) ) {
51
- exit;
 
52
  }
53
  }
54
  }
21
 
22
  // performs redirect to plugin settings page, after user logged in
23
  function opinionstage_login_callback() {
24
+
25
+ // Make sure user is logged in and have edit posts cap
26
+ if (is_user_logged_in() && current_user_can('edit_posts')) {
27
+
28
+ if ( OPINIONSTAGE_LOGIN_CALLBACK_SLUG == filter_input( INPUT_GET, 'page' ) ) {
29
+ $success = sanitize_text_field($_GET['success']);
30
+ $uid = intval($_GET['uid']);
31
+ $token = sanitize_text_field($_GET['token']);
32
+ $email = sanitize_email($_GET['email']);
33
+ $fly_id = intval($_GET['fly_id']);
34
+ $article_placement_id = intval($_GET['article_placement_id']);
35
+ $sidebar_placement_id = intval($_GET['sidebar_placement_id']);
36
+
37
+ opinionstage_uninstall();
38
+ opinionstage_parse_client_data(
39
+ compact(
40
+ 'success',
41
+ 'uid',
42
+ 'token',
43
+ 'email',
44
+ 'fly_id',
45
+ 'article_placement_id',
46
+ 'sidebar_placement_id'
47
+ )
48
+ );
49
 
50
 
51
+ $redirect_url = get_admin_url(null, '', 'admin').'admin.php?page='.OPINIONSTAGE_MENU_SLUG;
52
 
53
+ error_log('[opinionstage plugin] user logged in, redirect to '.$redirect_url);
54
+ if ( wp_redirect( $redirect_url, 302 ) ) {
55
+ exit;
56
+ }
57
  }
58
  }
59
  }
admin/opinionstage-tracking-user-notice.php DELETED
@@ -1,56 +0,0 @@
1
- <?php
2
- // block direct access to plugin PHP files:
3
- defined( 'ABSPATH' ) or die(1);
4
-
5
- add_action( 'admin_init', 'opinionstage_tracking' );
6
- function opinionstage_tracking(){
7
- add_action('admin_notices', 'opinionstage_tracking_user_info');
8
- }
9
-
10
- function opinionstage_tracking_user_info() {
11
- $message_title_display = 'Love using OpinionStage? Become a super contributor by opting in to our anonymous plugin data collection and to our updates. We guarantee no sensitive data is collected. ';
12
- if(!get_option('oswp_tracking_user_site_data') && get_option('oswp_tracking_user_site_data') == false){
13
- echo '<div class="notice notice-success" id="oswp_hide_tracking_notice" style="overflow: hidden; padding-top: 10px; padding-bottom: 20px;"><img style="margin-right: 20px;margin-top:8px;float: left;width:70px; " src="' . esc_url( plugins_url( 'admin/images/opinionstage-tracking-notice.png', plugin_dir_path(__FILE__) ) ) . '"><p style="margin-top: 6px;margin-left: 10px;float: none;margin-bottom: 10px;">'.$message_title_display.'&nbsp;<span><a href="https://help.opinionstage.com/wordpress-plugin/usage-data-tracking" target="_blank">Learn more. </a></span></p><button id="track_user_data" type="submit" class="button button-primary button-large">Sure I\'d love to help</button><button style="margin-left: 10px;" id="track_user_data_no_thanks" class="button button-large">No thanks</button></div>';
14
- }
15
- }
16
-
17
- add_action( 'admin_footer', 'tracking_user_js_opinionstage' ); // Write our JS below here
18
-
19
- function tracking_user_js_opinionstage() { ?>
20
- <script type="text/javascript">
21
- jQuery(document).ready(function($){
22
- $('button#track_user_data').on('click', function(event) {
23
- event.preventDefault();
24
- var $button = $(this);
25
- $button.addClass('disabled').append('<i class="fa fa-spinner fa-spin" style="font-size: 15px;margin-left: 5px;color: #ffffff;"></i>');
26
- // Sending ajax to allow tracking
27
- var data = {
28
- 'action': 'opinionstage_ajax_tracking_user_data',
29
- 'oswp_track_user_data' : 'yes'
30
- };
31
- // since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
32
- jQuery.post(ajaxurl, data, function(response) {
33
- if(response){
34
- $('#oswp_hide_tracking_notice').hide(500);
35
- }
36
- });
37
- });
38
- $('button#track_user_data_no_thanks').on('click', function(event) {
39
- event.preventDefault();
40
- var $button = $(this);
41
- $button.addClass('disabled').append('<i class="fa fa-spinner fa-spin" style="font-size: 15px;margin-left: 5px;color: #000000;"></i>');;
42
- // Sending ajax to not tracking
43
- var data = {
44
- 'action': 'opinionstage_ajax_tracking_user_data',
45
- 'oswp_track_user_data' : 'no'
46
- };
47
- // since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
48
- jQuery.post(ajaxurl, data, function(response) {
49
- if(response){
50
- $('#oswp_hide_tracking_notice').hide(500);
51
- }
52
- });
53
- });
54
- });
55
- </script>
56
- <?php }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/opinionstage-usage-tracking-code.php DELETED
@@ -1,20 +0,0 @@
1
- <?php
2
- // block direct access to plugin PHP files:
3
- defined( 'ABSPATH' ) or die();
4
- add_action( 'admin_head', 'add_tracking_hotjar_oswp');
5
-
6
- function add_tracking_hotjar_oswp(){
7
- if(get_option('oswp_tracking_user_site_data') == 'yes'){ ?>
8
- <!-- Hotjar Tracking Code for https://wordpress.org/plugins/social-polls-by-opinionstage/ -->
9
- <script>
10
- (function(h,o,t,j,a,r){
11
- h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
12
- h._hjSettings={hjid:1142399,hjsv:6};
13
- a=o.getElementsByTagName('head')[0];
14
- r=o.createElement('script');r.async=1;
15
- r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
16
- a.appendChild(r);
17
- })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
18
- </script>
19
- <?php }
20
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/resources/common.php CHANGED
@@ -16,19 +16,7 @@ function opinionstage_common_load_resources(){
16
  <?php }
17
 
18
  function opinionstage_common_load_header(){
19
- if(get_option('oswp_tracking_user_site_data') == 'yes'){ ?>
20
- <!-- Hotjar Tracking Code for https://wordpress.org/plugins/social-polls-by-opinionstage/ -->
21
- <script>
22
- (function(h,o,t,j,a,r){
23
- h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
24
- h._hjSettings={hjid:1142399,hjsv:6};
25
- a=o.getElementsByTagName('head')[0];
26
- r=o.createElement('script');r.async=1;
27
- r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
28
- a.appendChild(r);
29
- })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
30
- </script>
31
- <?php }
32
  }
33
  function opinionstage_common_load_footer(){
34
 
16
  <?php }
17
 
18
  function opinionstage_common_load_header(){
19
+
 
 
 
 
 
 
 
 
 
 
 
 
20
  }
21
  function opinionstage_common_load_footer(){
22
 
admin/views/deactivate-feedback-form.php DELETED
@@ -1,244 +0,0 @@
1
- <?php
2
- global $wp_version;
3
- $os_options = (array) get_option(OPINIONSTAGE_OPTIONS_KEY);
4
- $os_client_logged_in = opinionstage_user_logged_in();
5
-
6
- if(!$os_client_logged_in){
7
- $connectedEmail = '';
8
- $connectionOpinionStagePlugin = 'Not Connected';
9
- }else{
10
- $connectedEmail = $os_options['email'];
11
- $connectionOpinionStagePlugin = 'Connected';
12
- }
13
-
14
- $item_count = $os_options['item_count'];
15
- $active_plugins=get_option('active_plugins');
16
- foreach($active_plugins as $key => $value) {
17
- $plugin = explode('/',$value); // Folder name will be displayed
18
- $plugin_list[] = $plugin[0];
19
- }
20
-
21
- if ($wp_version < 5) {
22
- if ( function_exists( 'register_block_type' ) && is_plugin_active( 'gutenberg/gutenberg.php') ) {
23
- $editor = 'Gutenberg + Classic';
24
- }
25
- else {
26
- $editor = 'Classic';
27
- }
28
- }
29
- else {
30
- if ( is_plugin_active( 'classic-editor/classic-editor.php') ) {
31
- $editor = 'Gutenberg + Classic';
32
- }
33
- else {
34
- $editor = 'Gutenberg';
35
- }
36
- }
37
- // PHP Version
38
- $currentPhpVersion = phpversion();
39
-
40
- // Current Plugin Name
41
- $plugin_name = "Poll, Survey, Form & Quiz Maker by OpinionStage";
42
- ?>
43
- <style type="text/css">
44
- .os-feedback-modal-wrapper {
45
- position: fixed;
46
- top: 0;
47
- width: 100vw;
48
- height: 100vh;
49
- z-index: 9999;
50
- background: rgba(0,0,0,0.5);
51
- }
52
- .os-modal-inner {
53
- background: #fff;
54
- width: 500px;
55
- margin: auto;
56
- margin-top: calc( (100vh - 393px) / 2 );
57
- padding: 20px;
58
- position: relative;
59
- }
60
- .os-modal-content {
61
- margin-top: 25px;
62
- margin-bottom: 45px;
63
- }
64
- h3.os-modal-heading {
65
- margin: 0px;
66
- text-transform: uppercase;
67
- font-weight: 700;
68
- letter-spacing: 1px;
69
- }
70
- .os-form-field input[type=radio]{
71
- margin-right: 10px;
72
- margin-top: 1px;
73
- }
74
- span.os-close-button {
75
- position: absolute;
76
- top: -10px;
77
- right: -10px;
78
- background: #f1f1f1;
79
- border-radius: 20px;
80
- cursor: pointer;
81
- }
82
- .os-skip-deactivate {
83
- float: right;
84
- }
85
- .os-form-field {
86
- margin-bottom: 10px;
87
- }
88
- .os-other-reason, .os-other-plugin{
89
- display: block;
90
- margin-left: 30px;
91
- margin-top: 5px;
92
- width: 75%;
93
- line-height: 22px;
94
- }
95
- .os-modal-inner span.alert-error {
96
- color: #f00;
97
- font-weight: 600;
98
- }
99
- </style>
100
-
101
- <!-- start Mixpanel -->
102
- <script type="text/javascript">(function(c,a){if(!a.__SV){var b=window;try{var d,m,j,k=b.location,f=k.hash;d=function(a,b){return(m=a.match(RegExp(b+"=([^&]*)")))?m[1]:null};f&&d(f,"state")&&(j=JSON.parse(decodeURIComponent(d(f,"state"))),"mpeditor"===j.action&&(b.sessionStorage.setItem("_mpcehash",f),history.replaceState(j.desiredHash||"",c.title,k.pathname+k.search)))}catch(n){}var l,h;window.mixpanel=a;a._i=[];a.init=function(b,d,g){function c(b,i){var a=i.split(".");2==a.length&&(b=b[a[0]],i=a[1]);b[i]=function(){b.push([i].concat(Array.prototype.slice.call(arguments,
103
- 0)))}}var e=a;"undefined"!==typeof g?e=a[g]=[]:g="mixpanel";e.people=e.people||[];e.toString=function(b){var a="mixpanel";"mixpanel"!==g&&(a+="."+g);b||(a+=" (stub)");return a};e.people.toString=function(){return e.toString(1)+".people (stub)"};l="disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove".split(" ");
104
- for(h=0;h<l.length;h++)c(e,l[h]);var f="set set_once union unset remove delete".split(" ");e.get_group=function(){function a(c){b[c]=function(){call2_args=arguments;call2=[c].concat(Array.prototype.slice.call(call2_args,0));e.push([d,call2])}}for(var b={},d=["get_group"].concat(Array.prototype.slice.call(arguments,0)),c=0;c<f.length;c++)a(f[c]);return b};a._i.push([b,d,g])};a.__SV=1.2;b=c.createElement("script");b.type="text/javascript";b.async=!0;b.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?
105
- MIXPANEL_CUSTOM_LIB_URL:"file:"===c.location.protocol&&"//cdn4.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn4.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn4.mxpnl.com/libs/mixpanel-2-latest.min.js";d=c.getElementsByTagName("script")[0];d.parentNode.insertBefore(b,d)}})(document,window.mixpanel||[]);
106
- mixpanel.init("73bec82504e0f14a7dba16aebd26b97d",{
107
- 'ip':false,
108
- property_blacklist: ['$initial_referrer', '$current_url', '$initial_referring_domain', '$referrer', '$referring_domain']
109
- } );
110
- </script>
111
- <!-- end Mixpanel -->
112
-
113
- <script type="text/javascript">
114
- // OS Modal JS here
115
- jQuery(document).ready(function($){
116
- // elements
117
- var elemModal = $('.os-feedback-modal-wrapper');
118
- var elemOpen = $('.plugins [data-slug="social-polls-by-opinionstage"] .deactivate');
119
- var elemClose = $('.os-close-button');
120
- var elemSkip = $('.os-skip-deactivate');
121
- var elemSend = $('.os-send-deactivate');
122
- var elemValue = $('.os-feedback-modal-wrapper input[type=radio]');
123
-
124
- // handlers
125
- $(elemOpen).click(function(){
126
- elemModal.fadeIn();
127
- return false;
128
- });
129
-
130
- $(elemClose).click(function(){
131
- elemModal.fadeOut();
132
- });
133
-
134
- $(elemSend).click(function(){
135
- var plugin_name = '<?php echo $plugin_name; ?>';
136
- var current_plugin_name = plugin_name;
137
-
138
- if( jQuery('input[name=reason]:checked', $(elemModal)).length > 0 ){
139
- var reason = jQuery('input[name=reason]:checked', $(elemModal)).val();
140
- var validReason = false;
141
-
142
- if(reason == 'I found a better plugin.' || reason == 'Other:' ){
143
- if(reason == 'I found a better plugin.'){
144
- if ($('.os-other-plugin').val()){
145
- validReason = true;
146
- reason = 'Found better plugin: ' + $('.os-other-plugin').val();
147
- }
148
- else {
149
- $('span.alert-error').html('Please share the plugin name.');
150
- }
151
- }else if(reason == 'Other:'){
152
- if ($('.os-other-reason').val()){
153
- validReason = true;
154
- reason = 'Other: ' + $('.os-other-reason').val();
155
- }
156
- else {
157
- $('span.alert-error').html('Please share your Reason.');
158
- }
159
- }
160
- }
161
- else
162
- {
163
- validReason = true;
164
- }
165
-
166
- if (validReason == true) {
167
- elemModal.fadeOut();
168
- $opswConnected = '<?php echo $connectionOpinionStagePlugin; ?>';
169
- $ospVersion = '<?php echo $wp_version; ?>';
170
- $ospTheme = '<?php echo wp_get_theme(); ?>';
171
- $ospPluginList = '<?php echo json_encode($plugin_list); ?>';
172
- $ospEmail = '<?php echo $connectedEmail; ?>';
173
- $ospItemCount = '<?php echo $item_count; ?>';
174
- $pluginVersion="<?php echo OPINIONSTAGE_WIDGET_VERSION ?>";
175
- $oseditor = '<?php echo $editor; ?>';
176
- $osPhpVersion = '<?php echo $currentPhpVersion; ?>';
177
- $currentPluginName = current_plugin_name;
178
-
179
- mixpanel.track("WordPress Opinion Stage Disconnect",
180
- {"reason": reason, "details": reason ,"url": window.location.href,"opinionStagePluginConnect": $opswConnected,"PhpVersion":$osPhpVersion,"CurrentPluginName":$currentPluginName, "wpVersion": $ospVersion, "osVersion": $pluginVersion, "theme": $ospTheme, "pluginList": $ospPluginList, "email": $ospEmail, 'totalItem': $ospItemCount, 'editor': $oseditor, },
181
- function(){
182
- window.location = elemOpen.find('a').attr('href');
183
- }
184
- );
185
- }
186
- }else{
187
- // show error.
188
- $('span.alert-error').html('Please select one of the options.');
189
- }
190
-
191
- });
192
-
193
- $(elemSkip).click(function(){
194
- elemModal.fadeOut();
195
- window.location = elemOpen.find('a').attr('href');
196
- });
197
-
198
- $(elemValue).click(function(){
199
- $('span.alert-error').html('');
200
- $('input[type=text]', $(elemModal)).hide();
201
- $(this).parent().find('input[type=text]').show();
202
- });
203
- });
204
- </script>
205
-
206
- <div class="os-feedback-modal-wrapper" style="display: none;">
207
- <div class="os-modal-inner">
208
- <h3 class="os-modal-heading">Quick Feedback</h3>
209
- <div class="os-modal-content">
210
- <span class="alert-error"></span>
211
-
212
- <p><strong>If you have a moment, please share why you're deactivating?</strong></p>
213
- <div class="os-form-field">
214
- <input type="radio" name="reason" value="It is a temporary deactivation." id="label1">
215
- <label for="label1">It is a temporary deactivation.</label>
216
- </div>
217
- <div class="os-form-field">
218
- <input type="radio" name="reason" value="I couldn't get the plugin to work." id="label2">
219
- <label for="label2">I couldn't get the plugin to work.</label>
220
- </div>
221
- <div class="os-form-field">
222
- <input type="radio" name="reason" value="The plugin broke my website layout." id="label3">
223
- <label for="label3">The plugin broke my website layout.</label>
224
- </div>
225
- <div class="os-form-field">
226
- <input type="radio" name="reason" value="I found a better plugin." id="label4">
227
- <label for="label4">I found a better plugin.</label>
228
- <input type="text" name="other_plugin" class="os-other-plugin" placeholder="Please share the plugin name" style="display: none;">
229
- </div>
230
- <div class="os-form-field">
231
- <input type="radio" name="reason" value="I no longer need this plugin." id="label5">
232
- <label for="label5">I no longer need this plugin.</label>
233
- </div>
234
- <div class="os-form-field">
235
- <input type="radio" name="reason" value="Other:" id="label6">
236
- <label for="label6">Other:</label>
237
- <input type="text" name="other_reason" class="os-other-reason" placeholder="Please share your reason here" style="display: none;">
238
- </div>
239
- </div>
240
- <span class="os-close-button"><span class="dashicons dashicons-dismiss"></span></span>
241
- <button class="os-send-deactivate button button-primary">Send & Deactivate</button>
242
- <button class="os-skip-deactivate button">Skip & Deactivate</button>
243
- </div>
244
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/views/settings_track.php DELETED
@@ -1,70 +0,0 @@
1
- <?php
2
- // block direct access to plugin PHP files:
3
- defined( 'ABSPATH' ) or die(1);
4
-
5
- if(isset($_POST['submit_tracking']) && $_POST['submit_tracking'] == 'SAVE CHANGES'){
6
- if(isset($_POST['opinionstage_allow_tracking']) && $_POST['opinionstage_allow_tracking'] == 'yes'){
7
- update_option('oswp_tracking_user_site_data', 'yes');
8
- }else{
9
- update_option('oswp_tracking_user_site_data','no');
10
- }
11
- }
12
- $usage_enabled = get_option('oswp_tracking_user_site_data');
13
- ?>
14
- <div id="opinionstage-content">
15
- <div class="opinionstage-header-wrapper">
16
- <?php if ( !$os_client_logged_in ) {?>
17
- <div class="opinionstage-logo-wrapper">
18
- <div class="opinionstage-logo"></div>
19
- </div>
20
- <div class="opinionstage-status-content">
21
- <div class='opinionstage-status-title'><b class="opinionstage-title">Connect WordPress with Opinion Stage to get started</b></div>
22
- <form action="<?php echo OPINIONSTAGE_LOGIN_PATH ?>" method="get" class="opinionstage-connect-form">
23
- <input type="hidden" name="utm_source" value="<?php echo OPINIONSTAGE_UTM_SOURCE ?>">
24
- <input type="hidden" name="utm_campaign" value="<?php echo OPINIONSTAGE_UTM_CAMPAIGN ?>">
25
- <input type="hidden" name="utm_medium" value="<?php echo OPINIONSTAGE_UTM_CONNECT_MEDIUM ?>">
26
- <input type="hidden" name="o" value="<?php echo OPINIONSTAGE_WIDGET_API_KEY ?>">
27
- <input type="hidden" name="callback" value="<?php echo opinionstage_callback_url()?>">
28
- <input id="os-email" type="email" name="email" placeholder="Your email" data-os-email-input required>
29
- <button class="opinionstage-connect-btn opinionstage-blue-btn" type="submit" id="os-start-login" data-os-login>CONNECT</button>
30
- </form>
31
- </div>
32
- <?php } else { ?>
33
- <div class="opinionstage-logo-wrapper">
34
- <div class="opinionstage-logo"></div>
35
- <div class="opinionstage-connectivity-status"><?php echo($os_options["email"]); ?>
36
- <form method="POST" action="<?php echo get_admin_url(null, 'admin.php?page=opinionstage-disconnect-page')?>" class="opinionstage-connect-form">
37
- <button class="opinionstage-disconnect" type="submit">Disconnect</button>
38
- </form>
39
- </div>
40
- </div>
41
- <?php } ?>
42
- </div>
43
- <div class="opinionstage-dashboard">
44
- <div class="opinionstage-placement-dashboard">
45
- <div id="opinionstage-section-create" class="opinionstage-dashboard-section">
46
- <div class="opinionstage-section-header">
47
- <div class="opinionstage-section-title">Settings</div>
48
- </div>
49
-
50
- <div>
51
- <form method="post" action="">
52
- <div class="os-setting-container">
53
- <div class="opinionstage-setting-title">Usage Data Tracking</div>
54
- <div class="opinionstage-setting-content">
55
- <input type="checkbox" name="opinionstage_allow_tracking" value="yes" <?php echo ($usage_enabled=='yes') ? 'checked="checked"' : ''; ?> >
56
- <span>Opt-in to our anonymous plugin data collection and to updates. We guarantee no</span> <br/><span style="margin-left: 23px;">sensitive data is collected. </span>
57
- <a href="https://help.opinionstage.com/wordpress-plugin/usage-data-tracking" target="_blank">Learn more.</a>
58
- </div>
59
- </div>
60
- <input type="submit" name="submit_tracking" class="opinionstage-blue-btn" style="padding: 10px 20px; width: 152px;" value="SAVE CHANGES">
61
- </form>
62
- </div>
63
- </div>
64
- </div>
65
- </div>
66
- </div>
67
- <?php if ( !$os_client_logged_in ) {
68
- echo '<div id="overlay"></div>';
69
- }
70
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/opinionstage-ajax-functions.php CHANGED
@@ -6,7 +6,6 @@ defined( 'ABSPATH' ) or die();
6
  add_action( 'wp_ajax_opinionstage_ajax_toggle_flyout', 'opinionstage_ajax_toggle_flyout' );
7
  add_action( 'wp_ajax_opinionstage_ajax_toggle_article_placement', 'opinionstage_ajax_toggle_article_placement' );
8
  add_action( 'wp_ajax_opinionstage_ajax_toggle_sidebar_placement', 'opinionstage_ajax_toggle_sidebar_placement' );
9
- add_action( 'wp_ajax_opinionstage_ajax_tracking_user_data', 'opinionstage_ajax_tracking_user_data' );
10
  add_action( 'wp_ajax_osa_message_delete', 'opinionstage_message_delete' );
11
  add_action( 'wp_ajax_opinionstage_ajax_item_count', 'opinionstage_ajax_item_count' );
12
 
@@ -14,7 +13,7 @@ add_action( 'wp_ajax_opinionstage_ajax_item_count', 'opinionstage_ajax_item_coun
14
  // Toggle the flyout placement activation flag
15
  function opinionstage_ajax_toggle_flyout() {
16
  $os_options = (array) get_option(OPINIONSTAGE_OPTIONS_KEY);
17
- $os_options['fly_out_active'] = $_POST['activate'];
18
 
19
  update_option(OPINIONSTAGE_OPTIONS_KEY, $os_options);
20
  wp_die('1');
@@ -22,7 +21,7 @@ function opinionstage_ajax_toggle_flyout() {
22
  // Toggle the article placement activation flag
23
  function opinionstage_ajax_toggle_article_placement() {
24
  $os_options = (array) get_option(OPINIONSTAGE_OPTIONS_KEY);
25
- $os_options['article_placement_active'] = $_POST['activate'];
26
 
27
  update_option(OPINIONSTAGE_OPTIONS_KEY, $os_options);
28
  wp_die('1');
@@ -30,7 +29,7 @@ function opinionstage_ajax_toggle_article_placement() {
30
  // Toggle the sidebar placement activation flag
31
  function opinionstage_ajax_toggle_sidebar_placement() {
32
  $os_options = (array) get_option(OPINIONSTAGE_OPTIONS_KEY);
33
- $os_options['sidebar_placement_active'] = $_POST['activate'];
34
 
35
  update_option(OPINIONSTAGE_OPTIONS_KEY, $os_options);
36
  wp_die('1');
@@ -45,17 +44,6 @@ function opinionstage_message_delete() {
45
  wp_die('1');
46
  }
47
 
48
- function opinionstage_ajax_tracking_user_data() {
49
- if(isset($_POST['oswp_track_user_data']) && $_POST['oswp_track_user_data'] == 'yes'){
50
- update_option('oswp_tracking_user_site_data', 'yes');
51
- }elseif(isset($_POST['oswp_track_user_data']) && $_POST['oswp_track_user_data'] == 'no'){
52
- update_option('oswp_tracking_user_site_data', 'no');
53
- }else{
54
-
55
- }
56
- wp_die('1');
57
- }
58
-
59
  function opinionstage_ajax_item_count() {
60
  $os_options = (array) get_option(OPINIONSTAGE_OPTIONS_KEY);
61
  $os_options['item_count'] = intval($_POST['oswp_item_count']);
6
  add_action( 'wp_ajax_opinionstage_ajax_toggle_flyout', 'opinionstage_ajax_toggle_flyout' );
7
  add_action( 'wp_ajax_opinionstage_ajax_toggle_article_placement', 'opinionstage_ajax_toggle_article_placement' );
8
  add_action( 'wp_ajax_opinionstage_ajax_toggle_sidebar_placement', 'opinionstage_ajax_toggle_sidebar_placement' );
 
9
  add_action( 'wp_ajax_osa_message_delete', 'opinionstage_message_delete' );
10
  add_action( 'wp_ajax_opinionstage_ajax_item_count', 'opinionstage_ajax_item_count' );
11
 
13
  // Toggle the flyout placement activation flag
14
  function opinionstage_ajax_toggle_flyout() {
15
  $os_options = (array) get_option(OPINIONSTAGE_OPTIONS_KEY);
16
+ $os_options['fly_out_active'] = sanitize_text_field($_POST['activate']);
17
 
18
  update_option(OPINIONSTAGE_OPTIONS_KEY, $os_options);
19
  wp_die('1');
21
  // Toggle the article placement activation flag
22
  function opinionstage_ajax_toggle_article_placement() {
23
  $os_options = (array) get_option(OPINIONSTAGE_OPTIONS_KEY);
24
+ $os_options['article_placement_active'] = sanitize_text_field($_POST['activate']);
25
 
26
  update_option(OPINIONSTAGE_OPTIONS_KEY, $os_options);
27
  wp_die('1');
29
  // Toggle the sidebar placement activation flag
30
  function opinionstage_ajax_toggle_sidebar_placement() {
31
  $os_options = (array) get_option(OPINIONSTAGE_OPTIONS_KEY);
32
+ $os_options['sidebar_placement_active'] = sanitize_text_field($_POST['activate']);
33
 
34
  update_option(OPINIONSTAGE_OPTIONS_KEY, $os_options);
35
  wp_die('1');
44
  wp_die('1');
45
  }
46
 
 
 
 
 
 
 
 
 
 
 
 
47
  function opinionstage_ajax_item_count() {
48
  $os_options = (array) get_option(OPINIONSTAGE_OPTIONS_KEY);
49
  $os_options['item_count'] = intval($_POST['oswp_item_count']);
includes/opinionstage-utility-functions.php CHANGED
@@ -164,7 +164,7 @@ function opinionstage_callback_url_gutenberg_connect() {
164
  */
165
  function opinionstage_content_login_callback_url() {
166
  $current_url = '//' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
167
- return get_admin_url(null, 'admin.php?page=opinionstage-content-login-callback-page'). '&return_path=' . urlencode(opinionstage_add_modal_opening_to_url_params($current_url));
168
  }
169
  /**
170
  * Adds special param for modal opening on page load
@@ -206,7 +206,7 @@ function opinionstage_parse_client_data($raw_data) {
206
  function opinionstage_custom_content_popup_callback_url(){
207
  $protocol = ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://";
208
  $url = $protocol . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
209
- $adminUrlForOs = admin_url( 'admin.php?page=opinionstage-content-login-callback-page&return_path=', $protocol );
210
  return $adminUrlForOs.urlencode($url);
211
  }
212
  ?>
164
  */
165
  function opinionstage_content_login_callback_url() {
166
  $current_url = '//' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
167
+ return get_admin_url(null, 'admin.php?page='.OPINIONSTAGE_CONTENT_LOGIN_CALLBACK_SLUG ). '&return_path=' . urlencode(opinionstage_add_modal_opening_to_url_params($current_url));
168
  }
169
  /**
170
  * Adds special param for modal opening on page load
206
  function opinionstage_custom_content_popup_callback_url(){
207
  $protocol = ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://";
208
  $url = $protocol . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
209
+ $adminUrlForOs = admin_url( 'admin.php?page="'.OPINIONSTAGE_CONTENT_LOGIN_CALLBACK_SLUG.'"&return_path=', $protocol );
210
  return $adminUrlForOs.urlencode($url);
211
  }
212
  ?>
opinionstage-polls.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage (Deprecated)
4
  Plugin URI: https://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: 19.6.24
7
  Author: OpinionStage.com
8
  Author URI: https://www.opinionstage.com
9
  Text Domain: social-polls-by-opinionstage
3
  Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage (Deprecated)
4
  Plugin URI: https://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: 19.6.25
7
  Author: OpinionStage.com
8
  Author URI: https://www.opinionstage.com
9
  Text Domain: social-polls-by-opinionstage
plugin.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage
4
  Plugin URI: https://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: 19.6.24
7
  Author: OpinionStage.com
8
  Author URI: https://www.opinionstage.com
9
  Text Domain: social-polls-by-opinionstage
@@ -24,7 +24,7 @@ if ( defined('WP_DEBUG') && true === WP_DEBUG ) {
24
  }
25
  }
26
 
27
- define('OPINIONSTAGE_WIDGET_VERSION', '19.6.24');
28
 
29
  define('OPINIONSTAGE_TEXT_DOMAIN', 'social-polls-by-opinionstage');
30
 
@@ -55,6 +55,7 @@ define('OPINIONSTAGE_GETTING_STARTED_SLUG', 'opinionstage-getting-started');
55
  define('OPINIONSTAGE_VIEW_ITEM_SLUG', 'opinionstage-view-my-items');
56
 
57
  define('OPINIONSTAGE_LOGIN_CALLBACK_SLUG', 'opinionstage-login-callback');
 
58
 
59
  if ( ! version_compare( PHP_VERSION, '5.2', '>=' ) ) {
60
  add_action( 'admin_notices', 'opinionstage_fail_php_version' );
3
  Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage
4
  Plugin URI: https://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: 19.6.25
7
  Author: OpinionStage.com
8
  Author URI: https://www.opinionstage.com
9
  Text Domain: social-polls-by-opinionstage
24
  }
25
  }
26
 
27
+ define('OPINIONSTAGE_WIDGET_VERSION', '19.6.25');
28
 
29
  define('OPINIONSTAGE_TEXT_DOMAIN', 'social-polls-by-opinionstage');
30
 
55
  define('OPINIONSTAGE_VIEW_ITEM_SLUG', 'opinionstage-view-my-items');
56
 
57
  define('OPINIONSTAGE_LOGIN_CALLBACK_SLUG', 'opinionstage-login-callback');
58
+ define('OPINIONSTAGE_CONTENT_LOGIN_CALLBACK_SLUG', 'opinionstage-content-login-callback-page');
59
 
60
  if ( ! version_compare( PHP_VERSION, '5.2', '>=' ) ) {
61
  add_action( 'admin_notices', 'opinionstage_fail_php_version' );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.opinionstage.com
4
  Tags: poll, quiz, survey, form
5
  Requires at least: 2.8
6
  Tested up to: 5.2.2
7
- Stable tag: 19.6.24
8
  Requires PHP: 5.2
9
 
10
  Add Polls, Surveys or Quizzes to your Wordpress site. Create from scratch or based on templates. Get started in seconds.
@@ -116,6 +116,8 @@ Opinion Stage makes it easy for you to comply with the GDPR regulation. For more
116
  N/A
117
 
118
  == Changelog ==
 
 
119
  = 19.6.24 =
120
  * readme update
121
  = 19.6.23 =
4
  Tags: poll, quiz, survey, form
5
  Requires at least: 2.8
6
  Tested up to: 5.2.2
7
+ Stable tag: 19.6.25
8
  Requires PHP: 5.2
9
 
10
  Add Polls, Surveys or Quizzes to your Wordpress site. Create from scratch or based on templates. Get started in seconds.
116
  N/A
117
 
118
  == Changelog ==
119
+ = 19.6.25 =
120
+ * security fixes
121
  = 19.6.24 =
122
  * readme update
123
  = 19.6.23 =