Lightning Advanced Unit - Version 3.3.3

Version Description

Download this release

Release Info

Developer kurudrive
Plugin Icon wp plugin Lightning Advanced Unit
Version 3.3.3
Comparing to
See all releases

Code changes from version 3.3.2 to 3.3.3

inc/widgets/widget-full-wide-title.php CHANGED
@@ -3,12 +3,6 @@
3
  /*-------------------------------------------*/
4
  /* LTG Full Wide Title widget
5
  /*-------------------------------------------*/
6
-
7
- add_action(
8
- 'widgets_init',
9
- create_function( '', 'return register_widget( "LTG_Full_Wide_Title" );' )
10
- );
11
-
12
  class LTG_Full_Wide_Title extends WP_Widget {
13
  function __construct() {
14
  $widget_id = 'ltg_full_wide_title';
@@ -286,3 +280,8 @@ echo '</p>';
286
  }
287
 
288
  }
 
 
 
 
 
3
  /*-------------------------------------------*/
4
  /* LTG Full Wide Title widget
5
  /*-------------------------------------------*/
 
 
 
 
 
 
6
  class LTG_Full_Wide_Title extends WP_Widget {
7
  function __construct() {
8
  $widget_id = 'ltg_full_wide_title';
280
  }
281
 
282
  }
283
+
284
+ add_action( 'widgets_init', 'lightning_adv_unit_widget_register_full_wide_title' );
285
+ function lightning_adv_unit_widget_register_full_wide_title() {
286
+ return register_widget( 'LTG_Full_Wide_Title' );
287
+ }
inc/widgets/widget-new-posts.php CHANGED
@@ -290,4 +290,8 @@ class WP_Widget_ltg_adv_post_list extends WP_Widget {
290
  return $instance;
291
  }
292
  }
293
- add_action( 'widgets_init', create_function( '', 'return register_widget("WP_Widget_ltg_adv_post_list");' ) );
 
 
 
 
290
  return $instance;
291
  }
292
  }
293
+
294
+ add_action( 'widgets_init', 'lightning_adv_unit_widget_register_post_list' );
295
+ function lightning_adv_unit_widget_register_post_list() {
296
+ return register_widget( 'WP_Widget_ltg_adv_post_list' );
297
+ }
lightning_advanced_unit.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Lightning Advanced Unit
4
  * Plugin URI: http://lightning.vektor-inc.co.jp/
5
- * Version: 3.3.2
6
  * Author: Vektor,Inc.
7
  * Author URI: https://www.vektor-inc.co.jp
8
  * Description: This is a plug-ins that extend the functionality of the theme "Lightning".
2
  /**
3
  * Plugin Name: Lightning Advanced Unit
4
  * Plugin URI: http://lightning.vektor-inc.co.jp/
5
+ * Version: 3.3.3
6
  * Author: Vektor,Inc.
7
  * Author URI: https://www.vektor-inc.co.jp
8
  * Description: This is a plug-ins that extend the functionality of the theme "Lightning".
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: Lightning,
5
  Requires at least: 4.5
6
  Tested up to: 4.9.5
7
- Stable tag: 3.3.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
4
  Tags: Lightning,
5
  Requires at least: 4.5
6
  Tested up to: 4.9.5
7
+ Stable tag: 3.3.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10