Widget Options - Version 3.8.8

Version Description

  • Fixed PHP Warning: Undefined variable
Download this release

Release Info

Developer mej
Plugin Icon 128x128 Widget Options
Version 3.8.8
Comparing to
See all releases

Code changes from version 3.8.7 to 3.8.8

Files changed (3) hide show
  1. includes/widgets/display.php +1 -0
  2. plugin.php +2 -2
  3. readme.txt +5 -1
includes/widgets/display.php CHANGED
@@ -24,6 +24,7 @@ if( !function_exists( 'widgetopts_display_callback' ) ):
24
  // WPML FIX
25
  $hasWPML = has_filter('wpml_current_language');
26
  $hasWPML = (function_exists('pll_the_languages')) ? false : $hasWPML;
 
27
 
28
  $hidden = false;
29
  $opts = ( isset( $instance[ 'extended_widget_opts-'. $widget->id ] ) ) ? $instance[ 'extended_widget_opts-'. $widget->id ] : array();
24
  // WPML FIX
25
  $hasWPML = has_filter('wpml_current_language');
26
  $hasWPML = (function_exists('pll_the_languages')) ? false : $hasWPML;
27
+ $default_language = $hasWPML ? apply_filters( 'wpml_default_language', NULL ) : false;
28
 
29
  $hidden = false;
30
  $opts = ( isset( $instance[ 'extended_widget_opts-'. $widget->id ] ) ) ? $instance[ 'extended_widget_opts-'. $widget->id ] : array();
plugin.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Widget Options
4
  * Plugin URI: https://widget-options.com/
5
  * Description: Additional Widget options for better widget control. Get <strong><a href="http://widget-options.com/" target="_blank" >Extended Widget Options for WordPress</a></strong> for complete widget controls. Thanks!
6
- * Version: 3.8.7
7
  * Author: Widget Options Team
8
  * Author URI: https://widget-options.com/
9
  * Text Domain: widget-options
@@ -85,7 +85,7 @@ final class WP_Widget_Options {
85
 
86
  // Plugin version.
87
  if ( ! defined( 'WIDGETOPTS_VERSION' ) ) {
88
- define( 'WIDGETOPTS_VERSION', '3.8.7' );
89
  }
90
 
91
  // Plugin Folder Path.
3
  * Plugin Name: Widget Options
4
  * Plugin URI: https://widget-options.com/
5
  * Description: Additional Widget options for better widget control. Get <strong><a href="http://widget-options.com/" target="_blank" >Extended Widget Options for WordPress</a></strong> for complete widget controls. Thanks!
6
+ * Version: 3.8.8
7
  * Author: Widget Options Team
8
  * Author URI: https://widget-options.com/
9
  * Text Domain: widget-options
85
 
86
  // Plugin version.
87
  if ( ! defined( 'WIDGETOPTS_VERSION' ) ) {
88
+ define( 'WIDGETOPTS_VERSION', '3.8.8' );
89
  }
90
 
91
  // Plugin Folder Path.
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: widgets, restrict widgets, display widgets, widget logic, hide widgets, hi
5
  Requires at least: 4.0
6
  Tested up to: 6.0
7
  Requires PHP: 5.6
8
- Stable tag: 3.8.7
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -154,6 +154,10 @@ Widget Options is a featured pack fully lightweight plugin. Using Query Monitor
154
 
155
  == Changelog ==
156
 
 
 
 
 
157
  = 3.8.7 =
158
 
159
  * Redirected to plugin page after activation
5
  Requires at least: 4.0
6
  Tested up to: 6.0
7
  Requires PHP: 5.6
8
+ Stable tag: 3.8.8
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
154
 
155
  == Changelog ==
156
 
157
+ = 3.8.8 =
158
+
159
+ * Fixed PHP Warning: Undefined variable
160
+
161
  = 3.8.7 =
162
 
163
  * Redirected to plugin page after activation