WD Instagram Feed – Instagram Gallery - Version 1.1.19

Version Description

Fixed: Strange bug in Instagram API when user feed pagination is null, causing JS errors in frontend

Download this release

Release Info

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

Code changes from version 1.1.18 to 1.1.19

Files changed (4) hide show
  1. changelog.txt +114 -0
  2. js/wdi_frontend.js +9 -0
  3. readme.txt +3 -1
  4. wd-instagram-feed.php +2 -2
changelog.txt ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ = 1.1.19 =
2
+ Fixed: Strange bug in Instagram API when user feed pagination is null, causing JS errors in frontend
3
+
4
+ = 1.1.18 =
5
+ Fixed: Frontend filter colors (PRO)
6
+ Changed: Featured plugins, brand new Mailchimp Forms WD plugin added
7
+
8
+ = 1.1.17 =
9
+ New: Option in feed settings to show small size images and low-bandwidth videos when viewed in mobile devices
10
+ Fixed: Escaping in custom JS
11
+ Change: WP 4.7 compatibility - language of frontend content in AJAX response
12
+
13
+ = 1.1.16 =
14
+ Fixed: Unicode "paragraph separator" symbol in media caption crashes lightbox
15
+ Fixed: Javascript error in admin feed page and styling issue in lightbox because of some non-standard themes
16
+
17
+ = 1.1.15 =
18
+ New: Show hashtag media number in header
19
+ Fixed: Scripts dependency on underscore.js
20
+ Fixed: Compatibility issues with Yoast SEO
21
+
22
+ = 1.1.14 =
23
+ Fixed: Single user bio not shown
24
+ Changed: Plugin logo
25
+ Changed: Featured plugins logos
26
+
27
+ = 1.1.13 =
28
+ Fixed: Changes in database after plugin version update via FTP or AJAX requests with silent activation
29
+
30
+ = 1.1.12 =
31
+ New: Feed based on liked media (Pro)
32
+ Fixed: Hidden media in last page
33
+ Fixed: Minor issues
34
+
35
+ = 1.1.11 =
36
+ Added: Setting to show media descriptions in widget mode (Pro)
37
+ Fixed: Untranslatable strings in widget editor
38
+ Change: Featured plugins list
39
+
40
+ = 1.1.10 =
41
+ Added: New text in uninstall page
42
+ Added: Featured plugins admin page
43
+ Fixed: Video not centering issue on blogstyle
44
+ Added: Swedish translations
45
+
46
+ = 1.1.9 =
47
+ New: Option to set minimal user role for adding and managing feeds and themes
48
+ Fixed: Masonry feed thumbnails overlay opacity (Pro)
49
+
50
+ = 1.1.8 =
51
+ Changed: Font-Awesome updated to version 4.6.3
52
+
53
+ = 1.1.7 =
54
+ New: Featured themes admin page
55
+ Fixed: Javascript error in hashtag feed
56
+
57
+ = 1.1.6 =
58
+ Change: Added compatibility with "All in one SEO pack" and other plugins running shortcodes in page head
59
+
60
+ = 1.1.5 =
61
+ Fixed: javascript error on firefox and safari
62
+
63
+ = 1.1.4 =
64
+ Fixed: Error handling in case of wrong access_token
65
+ Fixed: Image description not opening after pagination (Pro)
66
+ Fixed: Do not show load more button if feed media are finished
67
+ Fixed: Infinite scroll triggering bug (Pro)
68
+
69
+ = 1.1.3 =
70
+ New: French translation (Thanks to Guillaume Barjou)
71
+ New: English US and UK translation files. Edit them to change default strings
72
+ Fixed: Image sizes and overwflows in thumbnails layout
73
+ Fixed: Lightbox filmstrip thumb styles (Pro)
74
+
75
+ = 1.1.2 =
76
+ Fixed: Bug when saving theme data to some MySQL 5.6 databases
77
+ Changed: Pagination of hashtag feeds restored
78
+ Changed: Check and get user id on frontend if empty for some unknown reason
79
+
80
+ = 1.1.1 =
81
+ fix: bug when duplicating feeds
82
+
83
+ = 1.1.0 =
84
+ new: Instagram new API
85
+ new: Spanish translation (Thanks to Alexandro Lacadena Gomez)
86
+
87
+ = 1.0.10 =
88
+ Temporarily disable pagination in hashtag based feeds
89
+ Updated Russian Translations ( Thanks to Alex Petrin )
90
+
91
+ = 1.0.9 =
92
+ Bug fixes
93
+
94
+ = 1.0.8 =
95
+ Show video play button when redirect is enabled
96
+
97
+ = 1.0.7 =
98
+ new: Image Hover Effects
99
+
100
+ = 1.0.6 =
101
+ new: Conditional Filters (Pro)
102
+ new: Option for displaying username in masonry/thumbnails view (Pro)
103
+ new: Russian translation (Thanks to Ruslan Tertyshny).
104
+
105
+ = 1.0.2 =
106
+ fix: PHP error after plugin update
107
+
108
+ = 1.0.1 =
109
+ fix: PHP 5.3 compatibility
110
+ fix: video redirect bug
111
+ change: user info styles
112
+
113
+ = 1.0.0 =
114
+ Initial version
js/wdi_frontend.js CHANGED
@@ -510,6 +510,7 @@ wdi_front.displayFeed = function (currentFeed, load_more_number)
510
  // if custom filter changed then display custom data
511
  if (currentFeed.customFilterChanged == true) {
512
  var data = currentFeed.customFilteredData;
 
513
  //parsing data for lightbox
514
  currentFeed.parsedData = wdi_front.parseLighboxData(currentFeed, true);
515
  }
@@ -3242,10 +3243,18 @@ WDIFeed.prototype.storeRawData = function (objects, variable)
3242
  }
3243
  }
3244
  else {
 
 
 
 
 
 
3245
  hash_id = objects[i].pagination.next_max_id;
3246
  if (typeof hash_id == "undefined") {
3247
  hash_id = "";
3248
  }
 
 
3249
  }
3250
 
3251
  if (typeof this[variable][i] == "undefined") {
510
  // if custom filter changed then display custom data
511
  if (currentFeed.customFilterChanged == true) {
512
  var data = currentFeed.customFilteredData;
513
+
514
  //parsing data for lightbox
515
  currentFeed.parsedData = wdi_front.parseLighboxData(currentFeed, true);
516
  }
3243
  }
3244
  }
3245
  else {
3246
+
3247
+ /*strange bug sometimes happening in instagram API when user feed pagination is null*/
3248
+ if(objects[i].pagination == null){
3249
+ objects[i].pagination = [];
3250
+ }
3251
+
3252
  hash_id = objects[i].pagination.next_max_id;
3253
  if (typeof hash_id == "undefined") {
3254
  hash_id = "";
3255
  }
3256
+
3257
+
3258
  }
3259
 
3260
  if (typeof this[variable][i] == "undefined") {
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, Instagram wall, lightbox, photos
5
  Requires at least: 3.9
6
  Tested up to: 4.7
7
- Stable tag: 1.1.18
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -107,6 +107,8 @@ After downloading the ZIP file of the Instagram Feed WD plugin,
107
 
108
  == Changelog ==
109
 
 
 
110
 
111
  = 1.1.18 =
112
  Fixed: Frontend filter colors (PRO)
4
  Tags: : custom instagram feed, feed, instagram, hashtag, Instagram feed, instagram gallery, instagram posts, Instagram images, Instagram photos, Instagram wall, lightbox, photos
5
  Requires at least: 3.9
6
  Tested up to: 4.7
7
+ Stable tag: 1.1.19
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
107
 
108
  == Changelog ==
109
 
110
+ = 1.1.19 =
111
+ Fixed: Strange bug in Instagram API when user feed pagination is null, causing JS errors in frontend
112
 
113
  = 1.1.18 =
114
  Fixed: Frontend filter colors (PRO)
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.1.18
7
  Author: WebDorado
8
  Author URI: https://web-dorado.com
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.1.18');
24
  define('WDI_IS_PRO','false');
25
 
26
 
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.1.19
7
  Author: WebDorado
8
  Author URI: https://web-dorado.com
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.1.19');
24
  define('WDI_IS_PRO','false');
25
 
26