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

Version Description

  • remove excessive logging
Download this release

Release Info

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

Code changes from version 19.6.40 to 19.6.41

admin/admin-page-loader.php CHANGED
@@ -12,9 +12,6 @@ class OpinionStageAdminPageLoader {
12
  protected $viewsPath = "views/";
13
 
14
  protected function __construct() {
15
-
16
- $this->OSAPL_Debug('OSAPL: Constructor Invoked');
17
-
18
  // Check if page is for OpinionStage plugin and prepare page slug
19
  $this->OSAPL_PrepareSlug();
20
 
@@ -28,7 +25,6 @@ class OpinionStageAdminPageLoader {
28
  add_action( 'admin_head', array( $this, 'OSAPL_LoadHeader' ) );
29
  add_action('admin_footer',array( $this, 'OSAPL_LoadFooter' ));
30
  }else{
31
- $this->OSAPL_Debug('OSAPL: Not OpinionStage Page. Loading Content Popup File.');
32
  // Load content popup javascript
33
  include_once( plugin_dir_path( __FILE__ ).'content-popup.php' );
34
  }
12
  protected $viewsPath = "views/";
13
 
14
  protected function __construct() {
 
 
 
15
  // Check if page is for OpinionStage plugin and prepare page slug
16
  $this->OSAPL_PrepareSlug();
17
 
25
  add_action( 'admin_head', array( $this, 'OSAPL_LoadHeader' ) );
26
  add_action('admin_footer',array( $this, 'OSAPL_LoadFooter' ));
27
  }else{
 
28
  // Load content popup javascript
29
  include_once( plugin_dir_path( __FILE__ ).'content-popup.php' );
30
  }
includes/logging.php CHANGED
@@ -20,12 +20,7 @@ function opinionstage_error_log( $message ) {
20
  return;
21
  }
22
 
23
- global $wp;
24
- // phpcs:disable WordPress.Security.ValidatedSanitizedInput.MissingUnslash, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
25
- $uri = is_object( $wp ) ? home_url( $wp->request ) : isset( $_SERVER['REQUEST_URI'] ) ? $_SERVER['REQUEST_URI'] : 'unknown';
26
- // phpcs:enable
27
-
28
  // phpcs:disable WordPress.PHP.DevelopmentFunctions
29
- error_log( '[opinionstage plugin] ' . $message . " ($uri)" );
30
  // phpcs:enable
31
  }
20
  return;
21
  }
22
 
 
 
 
 
 
23
  // phpcs:disable WordPress.PHP.DevelopmentFunctions
24
+ error_log( '[opinionstage plugin] ' . $message );
25
  // phpcs:enable
26
  }
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.40
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.41
7
  Author: OpinionStage.com
8
  Author URI: https://www.opinionstage.com
9
  Text Domain: social-polls-by-opinionstage
plugin.php CHANGED
@@ -8,7 +8,7 @@
8
  * Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage
9
  * Plugin URI: https://www.opinionstage.com
10
  * 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.
11
- * Version: 19.6.40
12
  * Author: OpinionStage.com
13
  * Author URI: https://www.opinionstage.com
14
  * Text Domain: social-polls-by-opinionstage
@@ -34,7 +34,7 @@ if ( defined( 'WP_DEBUG' ) && true === WP_DEBUG ) {
34
  }
35
  }
36
 
37
- define( 'OPINIONSTAGE_WIDGET_VERSION', '19.6.40' );
38
 
39
  define( 'OPINIONSTAGE_TEXT_DOMAIN', 'social-polls-by-opinionstage' );
40
 
8
  * Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage
9
  * Plugin URI: https://www.opinionstage.com
10
  * 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.
11
+ * Version: 19.6.41
12
  * Author: OpinionStage.com
13
  * Author URI: https://www.opinionstage.com
14
  * Text Domain: social-polls-by-opinionstage
34
  }
35
  }
36
 
37
+ define( 'OPINIONSTAGE_WIDGET_VERSION', '19.6.41' );
38
 
39
  define( 'OPINIONSTAGE_TEXT_DOMAIN', 'social-polls-by-opinionstage' );
40
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.opinionstage.com
4
  Tags: poll, quiz, survey, poll plugin, quiz plugin, survey plugin
5
  Requires at least: 2.8
6
  Tested up to: 5.5
7
- Stable tag: 19.6.40
8
  Requires PHP: 5.2
9
 
10
  Add a Poll, Survey, or Quiz to your Wordpress site. Create a poll, quiz, or survey from scratch or based on templates.
@@ -138,6 +138,8 @@ Opinion Stage makes it easy for you to comply with the GDPR regulation. For more
138
  N/A
139
 
140
  == Changelog ==
 
 
141
  = 19.6.40 =
142
  * Gutenberg integration rework
143
  * various internal code improvements
4
  Tags: poll, quiz, survey, poll plugin, quiz plugin, survey plugin
5
  Requires at least: 2.8
6
  Tested up to: 5.5
7
+ Stable tag: 19.6.41
8
  Requires PHP: 5.2
9
 
10
  Add a Poll, Survey, or Quiz to your Wordpress site. Create a poll, quiz, or survey from scratch or based on templates.
138
  N/A
139
 
140
  == Changelog ==
141
+ = 19.6.41 =
142
+ * remove excessive logging
143
  = 19.6.40 =
144
  * Gutenberg integration rework
145
  * various internal code improvements