WD Instagram Feed – Instagram Gallery - Version 1.3.10

Version Description

Fixed: Gutenberg compatibility
Fixed: Duplicate media when several filters are applied (Premium)

Download this release

Release Info

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

Code changes from version 1.3.9 to 1.3.10

Files changed (4) hide show
  1. changelog.txt +5 -1
  2. js/wdi_frontend.js +1 -1
  3. readme.txt +7 -3
  4. wd-instagram-feed.php +6 -5
changelog.txt CHANGED
@@ -1,5 +1,9 @@
 
 
 
 
1
  = 1.3.9 =
2
- Fixed: Lib conflict with photo-gallery
3
 
4
  = 1.3.8 =
5
  Changed: Links to docs
1
+ = 1.3.10 =
2
+ Fixed: Gutenberg compatibility
3
+ Fixed: Duplicate media when several filters are applied (Premium)
4
+
5
  = 1.3.9 =
6
+ Fixed: Free user lib conflict with photo-gallery
7
 
8
  = 1.3.8 =
9
  Changed: Links to docs
js/wdi_frontend.js CHANGED
@@ -2791,7 +2791,7 @@ wdi_front.filterData = function (currentFeed)
2791
  currentFeed.customFilteredData = [];
2792
  for (var i = 0; i < currentFeed.dataStorageList.length; i++) {
2793
  for (var j = 0; j < users.length; j++) {
2794
- if ((currentFeed.dataStorageList[i]['user']['id'] == users[j]['id'] || currentFeed.dataStorageList[i]['wdi_hashtag'] == users[j]['name']) && users[j]['flag'] == true) {
2795
  currentFeed.customFilteredData.push(currentFeed.dataStorageList[i]);
2796
  }
2797
 
2791
  currentFeed.customFilteredData = [];
2792
  for (var i = 0; i < currentFeed.dataStorageList.length; i++) {
2793
  for (var j = 0; j < users.length; j++) {
2794
+ if (((typeof currentFeed.dataStorageList[i]['user']['id'] != "undefined" && currentFeed.dataStorageList[i]['user']['id'] == users[j]['id']) || currentFeed.dataStorageList[i]['wdi_hashtag'] == users[j]['name']) && users[j]['flag'] == true) {
2795
  currentFeed.customFilteredData.push(currentFeed.dataStorageList[i]);
2796
  }
2797
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado,10web,progmastery
3
  Tags: custom instagram feed, feed, instagram, hashtag, Instagram feed, instagram gallery, instagram posts, Instagram images, Instagram photos, lightbox, photos,instagram account
4
  Requires at least: 3.9
5
  Requires PHP: 5.2
6
- Tested up to: 4.9
7
- Stable tag: 1.3.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -15,7 +15,7 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
15
  https://www.youtube.com/watch?v=CgZNya0HZCQ
16
 
17
  = Useful Links: =
18
- [Special Offer for all Premium Plugins](https://10web.io/pricing/)
19
  [WordPress 10Web Instagram Feed ](https://10web.io/plugins/wordpress-instagram-feed/)
20
  [Demo](https://demo.10web.io/instagram-feed/)
21
  [User Guide](https://docs.10web.io/docs/wd-instagram-feed/)
@@ -502,6 +502,10 @@ Please make sure you don't have any important information before you proceed.
502
 
503
  == Changelog ==
504
 
 
 
 
 
505
  = 1.3.9 =
506
  Fixed: Lib conflict with photo-gallery
507
 
3
  Tags: custom instagram feed, feed, instagram, hashtag, Instagram feed, instagram gallery, instagram posts, Instagram images, Instagram photos, lightbox, photos,instagram account
4
  Requires at least: 3.9
5
  Requires PHP: 5.2
6
+ Tested up to: 5.0
7
+ Stable tag: 1.3.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
15
  https://www.youtube.com/watch?v=CgZNya0HZCQ
16
 
17
  = Useful Links: =
18
+ [Special Offer for all Premium Plugins](https://10web.io/plugins-bundle-pricing/)
19
  [WordPress 10Web Instagram Feed ](https://10web.io/plugins/wordpress-instagram-feed/)
20
  [Demo](https://demo.10web.io/instagram-feed/)
21
  [User Guide](https://docs.10web.io/docs/wd-instagram-feed/)
502
 
503
  == Changelog ==
504
 
505
+ = 1.3.10 =
506
+ Fixed: Gutenberg compatibility
507
+ Fixed: Duplicate media when several filters are applied (Premium)
508
+
509
  = 1.3.9 =
510
  Fixed: Lib conflict with photo-gallery
511
 
wd-instagram-feed.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Instagram Feed by 10Web
4
  Plugin URI: https://10web.io/plugins/wordpress-instagram-feed/
5
  Description: Instagram Feed by 10Web 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.3.9
7
  Author: 10Web
8
  Author URI: https://10Web.io
9
  License: GPLv2 or later
@@ -20,7 +20,7 @@ define("WDI_META", "_".WDI_VAR."_meta");
20
  //define("wdi",'wdi');
21
  define('WDI_FEED_TABLE','wdi_feeds');
22
  define('WDI_THEME_TABLE','wdi_themes');
23
- define('WDI_VERSION','1.3.9');
24
  define('WDI_IS_PRO','false');
25
  $wdi_minify = ((isset($_GET['wdi_no_minify']) && $_GET['wdi_no_minify'] == "true") ? false : true);
26
  define('WDI_MINIFY', $wdi_minify);
@@ -574,12 +574,13 @@ function wdi_load_styles() {
574
 
575
  }
576
 
577
- //add_action( 'enqueue_block_editor_assets', 'enqueue_block_editor_assets' );
578
 
579
  function enqueue_block_editor_assets() {
580
  $wd_bp_plugin_url = WDI_URL;
581
  $key = 'tw/wdi';
582
  $plugin_name = "Instagram WD";
 
583
  $data = WDILibrary::get_shortcode_data();
584
  $icon_url = $wd_bp_plugin_url . '/images/insta_2.svg';
585
  $icon_svg = $wd_bp_plugin_url . '/images/insta.svg';
@@ -602,8 +603,8 @@ function enqueue_block_editor_assets() {
602
  }
603
  </script>
604
  <?php
605
- //wp_enqueue_style('wditw-gb-wdi_block', $wd_bp_plugin_url . '/css/wdi_block.css', array( 'wp-edit-blocks' ), WDI_VERSION );
606
- //wp_enqueue_script( 'wditw-gb-wdi_block', $wd_bp_plugin_url . '/js/wdi_block.js', array( 'wp-blocks', 'wp-element' ), WDI_VERSION );
607
  }
608
 
609
  // Instagram WDI Widget.
3
  Plugin Name: Instagram Feed by 10Web
4
  Plugin URI: https://10web.io/plugins/wordpress-instagram-feed/
5
  Description: Instagram Feed by 10Web 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.3.10
7
  Author: 10Web
8
  Author URI: https://10Web.io
9
  License: GPLv2 or later
20
  //define("wdi",'wdi');
21
  define('WDI_FEED_TABLE','wdi_feeds');
22
  define('WDI_THEME_TABLE','wdi_themes');
23
+ define('WDI_VERSION','1.3.10');
24
  define('WDI_IS_PRO','false');
25
  $wdi_minify = ((isset($_GET['wdi_no_minify']) && $_GET['wdi_no_minify'] == "true") ? false : true);
26
  define('WDI_MINIFY', $wdi_minify);
574
 
575
  }
576
 
577
+ add_action( 'enqueue_block_editor_assets', 'enqueue_block_editor_assets' );
578
 
579
  function enqueue_block_editor_assets() {
580
  $wd_bp_plugin_url = WDI_URL;
581
  $key = 'tw/wdi';
582
  $plugin_name = "Instagram WD";
583
+ require_once(WDI_DIR . '/framework/WDILibrary.php');
584
  $data = WDILibrary::get_shortcode_data();
585
  $icon_url = $wd_bp_plugin_url . '/images/insta_2.svg';
586
  $icon_svg = $wd_bp_plugin_url . '/images/insta.svg';
603
  }
604
  </script>
605
  <?php
606
+ wp_enqueue_style('wditw-gb-wdi_block', $wd_bp_plugin_url . '/css/wdi_block.css', array( 'wp-edit-blocks' ), WDI_VERSION );
607
+ wp_enqueue_script( 'wditw-gb-wdi_block', $wd_bp_plugin_url . '/js/wdi_block.js', array( 'wp-blocks', 'wp-element' ), WDI_VERSION );
608
  }
609
 
610
  // Instagram WDI Widget.