WD Instagram Feed – Instagram Gallery - Version 1.2.5

Version Description

Change: "create_function" is not used anymore

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 WD Instagram Feed – Instagram Gallery
Version 1.2.5
Comparing to
See all releases

Code changes from version 1.2.4 to 1.2.5

Files changed (2) hide show
  1. readme.txt +4 -1
  2. wd-instagram-feed.php +6 -3
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-instagram-feed-wd.html
4
  Tags: custom instagram feed, feed, instagram, hashtag, Instagram feed, instagram gallery, instagram posts, Instagram images, Instagram photos, lightbox, photos,instagram account
5
  Requires at least: 3.9
6
  Tested up to: 4.8
7
- Stable tag: 1.2.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -110,6 +110,9 @@ After downloading the ZIP file of the Instagram Feed WD plugin,
110
 
111
  == Changelog ==
112
 
 
 
 
113
  = 1.2.4 =
114
  Fixed: Instagram Feed WD compatibility issue with Better WordPress Minify plugin, thanks to @amityweb for bug report
115
 
4
  Tags: custom instagram feed, feed, instagram, hashtag, Instagram feed, instagram gallery, instagram posts, Instagram images, Instagram photos, lightbox, photos,instagram account
5
  Requires at least: 3.9
6
  Tested up to: 4.8
7
+ Stable tag: 1.2.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
110
 
111
  == Changelog ==
112
 
113
+ = 1.2.5 =
114
+ Change: "create_function" is not used anymore
115
+
116
  = 1.2.4 =
117
  Fixed: Instagram Feed WD compatibility issue with Better WordPress Minify plugin, thanks to @amityweb for bug report
118
 
wd-instagram-feed.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Instagram Feed WD
4
  Plugin URI: https://web-dorado.com/products/wordpress-instagram-feed-wd.html
5
  Description: WD Instagram Feed is a user-friendly tool for displaying user or hashtag-based feeds on your website. You can create feeds with one of the available layouts. It allows displaying image metadata, open up images in lightbox, download them and even share in social networking websites.
6
- Version: 1.2.4
7
  Author: WebDorado
8
  Author URI: https://web-dorado.com
9
  License: GPLv2 or later
@@ -21,7 +21,7 @@ define("WDI_META", "_".WDI_VAR."_meta");
21
  //define("wdi",'wdi');
22
  define('WDI_FEED_TABLE','wdi_feeds');
23
  define('WDI_THEME_TABLE','wdi_themes');
24
- define('WDI_VERSION','1.2.4');
25
  define('WDI_IS_PRO','false');
26
 
27
 
@@ -418,9 +418,12 @@ function wdi_load_styles() {
418
  // Instagram WDI Widget.
419
  if (class_exists('WP_Widget')) {
420
  require_once(WDI_DIR . '/admin/controllers/WDIControllerWidget.php');
421
- add_action('widgets_init', create_function('', 'return register_widget("WDIControllerWidget");'));
422
  }
423
 
 
 
 
424
 
425
  //Editor shortcode button
426
  add_filter('media_buttons_context', 'wdi_add_editor_button');
3
  Plugin Name: Instagram Feed WD
4
  Plugin URI: https://web-dorado.com/products/wordpress-instagram-feed-wd.html
5
  Description: WD Instagram Feed is a user-friendly tool for displaying user or hashtag-based feeds on your website. You can create feeds with one of the available layouts. It allows displaying image metadata, open up images in lightbox, download them and even share in social networking websites.
6
+ Version: 1.2.5
7
  Author: WebDorado
8
  Author URI: https://web-dorado.com
9
  License: GPLv2 or later
21
  //define("wdi",'wdi');
22
  define('WDI_FEED_TABLE','wdi_feeds');
23
  define('WDI_THEME_TABLE','wdi_themes');
24
+ define('WDI_VERSION','1.2.5');
25
  define('WDI_IS_PRO','false');
26
 
27
 
418
  // Instagram WDI Widget.
419
  if (class_exists('WP_Widget')) {
420
  require_once(WDI_DIR . '/admin/controllers/WDIControllerWidget.php');
421
+ add_action('widgets_init', 'wdi_register_widget');
422
  }
423
 
424
+ function wdi_register_widget(){
425
+ return register_widget("WDIControllerWidget");
426
+ }
427
 
428
  //Editor shortcode button
429
  add_filter('media_buttons_context', 'wdi_add_editor_button');