WD Instagram Feed – Instagram Gallery - Version 1.1.13

Version Description

Fixed: Changes in database after plugin version update via FTP or AJAX requests with silent activation

Download this release

Release Info

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

Code changes from version 1.1.12 to 1.1.13

Files changed (3) hide show
  1. changelog.txt +88 -0
  2. readme.txt +4 -1
  3. wd-instagram-feed.php +20 -3
changelog.txt ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ = 1.1.13 =
2
+ Fixed: Changes in database after plugin version update via FTP or AJAX requests with silent activation
3
+
4
+ = 1.1.12 =
5
+ New: Feed based on liked media (Pro)
6
+ Fixed: Hidden media in last page
7
+ Fixed: Minor issues
8
+
9
+ = 1.1.11 =
10
+ Added: Setting to show media descriptions in widget mode (Pro)
11
+ Fixed: Untranslatable strings in widget editor
12
+ Change: Featured plugins list
13
+
14
+ = 1.1.10 =
15
+ Added: New text in uninstall page
16
+ Added: Featured plugins admin page
17
+ Fixed: Video not centering issue on blogstyle
18
+ Added: Swedish translations
19
+
20
+ = 1.1.9 =
21
+ New: Option to set minimal user role for adding and managing feeds and themes
22
+ Fixed: Masonry feed thumbnails overlay opacity (Pro)
23
+
24
+ = 1.1.8 =
25
+ Changed: Font-Awesome updated to version 4.6.3
26
+
27
+ = 1.1.7 =
28
+ New: Featured themes admin page
29
+ Fixed: Javascript error in hashtag feed
30
+
31
+ = 1.1.6 =
32
+ Change: Added compatibility with "All in one SEO pack" and other plugins running shortcodes in page head
33
+
34
+ = 1.1.5 =
35
+ Fixed: javascript error on firefox and safari
36
+
37
+ = 1.1.4 =
38
+ Fixed: Error handling in case of wrong access_token
39
+ Fixed: Image description not opening after pagination (Pro)
40
+ Fixed: Do not show load more button if feed media are finished
41
+ Fixed: Infinite scroll triggering bug (Pro)
42
+
43
+ = 1.1.3 =
44
+ New: French translation (Thanks to Guillaume Barjou)
45
+ New: English US and UK translation files. Edit them to change default strings
46
+ Fixed: Image sizes and overwflows in thumbnails layout
47
+ Fixed: Lightbox filmstrip thumb styles (Pro)
48
+
49
+ = 1.1.2 =
50
+ Fixed: Bug when saving theme data to some MySQL 5.6 databases
51
+ Changed: Pagination of hashtag feeds restored
52
+ Changed: Check and get user id on frontend if empty for some unknown reason
53
+
54
+ = 1.1.1 =
55
+ fix: bug when duplicating feeds
56
+
57
+ = 1.1.0 =
58
+ new: Instagram new API
59
+ new: Spanish translation (Thanks to Alexandro Lacadena Gomez)
60
+
61
+ = 1.0.10 =
62
+ Temporarily disable pagination in hashtag based feeds
63
+ Updated Russian Translations ( Thanks to Alex Petrin )
64
+
65
+ = 1.0.9 =
66
+ Bug fixes
67
+
68
+ = 1.0.8 =
69
+ Show video play button when redirect is enabled
70
+
71
+ = 1.0.7 =
72
+ new: Image Hover Effects
73
+
74
+ = 1.0.6 =
75
+ new: Conditional Filters (Pro)
76
+ new: Option for displaying username in masonry/thumbnails view (Pro)
77
+ new: Russian translation (Thanks to Ruslan Tertyshny).
78
+
79
+ = 1.0.2 =
80
+ fix: PHP error after plugin update
81
+
82
+ = 1.0.1 =
83
+ fix: PHP 5.3 compatibility
84
+ fix: video redirect bug
85
+ change: user info styles
86
+
87
+ = 1.0.0 =
88
+ Initial version
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.6
7
- Stable tag: 1.1.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -107,6 +107,9 @@ After downloading the ZIP file of the Instagram Feed WD plugin,
107
 
108
  == Changelog ==
109
 
 
 
 
110
  = 1.1.12 =
111
  New: Feed based on liked media (Pro)
112
  Fixed: Hidden media in last page
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.6
7
+ Stable tag: 1.1.13
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.13 =
111
+ Fixed: Changes in database after plugin version update via FTP or AJAX requests with silent activation
112
+
113
  = 1.1.12 =
114
  New: Feed based on liked media (Pro)
115
  Fixed: Hidden media in last page
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.12
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.12');
24
  define('WDI_IS_PRO','false');
25
 
26
 
@@ -100,7 +100,6 @@ function wdi_instagram_activate($networkwide) {
100
  }
101
  }
102
  // wdi_activate();
103
-
104
  wdi_install();
105
  }
106
 
@@ -407,3 +406,21 @@ function wdi_load_textdomain() {
407
 
408
  }
409
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.13
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.13');
24
  define('WDI_IS_PRO','false');
25
 
26
 
100
  }
101
  }
102
  // wdi_activate();
 
103
  wdi_install();
104
  }
105
 
406
 
407
  }
408
 
409
+ add_action('init', 'wdi_check_silent_update');
410
+
411
+ function wdi_check_silent_update(){
412
+ $current_version = WDI_VERSION;
413
+ $saved_version = get_option('wdi_version');
414
+
415
+ wdi_get_options();
416
+ global $wdi_options;
417
+ if(isset($wdi_options['wdi_plugin_uninstalled']) && $wdi_options['wdi_plugin_uninstalled']=='true') {
418
+ /*we uninstalled plugin, do not create DB tables again*/
419
+ return;
420
+ }
421
+ if($current_version != $saved_version ){
422
+
423
+ wdi_install();
424
+ }
425
+ }
426
+