WD Instagram Feed – Instagram Gallery - Version 1.2.4

Version Description

Fixed: Instagram Feed WD compatibility issue with Better WordPress Minify plugin, thanks to @amityweb for bug report

Download this release

Release Info

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

Code changes from version 1.2.3 to 1.2.4

Files changed (3) hide show
  1. frontend/shortcode.php +8 -8
  2. readme.txt +5 -2
  3. wd-instagram-feed.php +2 -2
frontend/shortcode.php CHANGED
@@ -151,12 +151,12 @@ function wdi_feed($atts, $widget_params = '')
151
  function wdi_load_frontend_scripts()
152
  {
153
 
154
- wp_enqueue_script('wdi_instagram', plugins_url('../js/wdi_instagram.js', __FILE__), array("jquery"), WDI_VERSION, true);
155
 
156
  wp_enqueue_script('underscore');
157
- wp_enqueue_script('wdi_frontend', plugins_url('../js/wdi_frontend.js', __FILE__), array("jquery", 'wdi_instagram', 'underscore'), WDI_VERSION, true);
158
 
159
- wp_enqueue_script('wdi_responsive', plugins_url('../js/wdi_responsive.js', __FILE__), array("jquery", "wdi_frontend"), WDI_VERSION, true);
160
  wp_localize_script("wdi_frontend", 'wdi_ajax', array('ajax_url' => admin_url('admin-ajax.php')), WDI_VERSION);
161
  wp_localize_script("wdi_frontend", 'wdi_url', array('plugin_url' => plugin_dir_url(__FILE__),
162
  'ajax_url' => admin_url('admin-ajax.php')), WDI_VERSION);
@@ -181,9 +181,9 @@ function wdi_load_frontend_scripts()
181
 
182
  function wdi_load_frontend_styles()
183
  {
184
- wp_register_style('wdi_frontend_thumbnails', plugins_url('../css/wdi_frontend.css', __FILE__), array(), WDI_VERSION);
185
  wp_enqueue_style('wdi_frontend_thumbnails');
186
- wp_register_style('font-awesome', plugins_url('../css/font-awesome/css/font-awesome.css', __FILE__), array(), WDI_VERSION);
187
  wp_enqueue_style('font-awesome');
188
  }
189
 
@@ -224,11 +224,11 @@ function wdi_load_frontend_scripts_styles_ajax()
224
 
225
  wp_dequeue_script('jquery');
226
 
227
- wp_enqueue_script('wdi_instagram', plugins_url('../js/wdi_instagram.js', __FILE__), array(), WDI_VERSION, true);
228
 
229
  wp_enqueue_script('underscore');
230
- wp_enqueue_script('wdi_frontend', plugins_url('../js/wdi_frontend.js', __FILE__), array('wdi_instagram', 'underscore'), WDI_VERSION, true);
231
- wp_enqueue_script('wdi_responsive', plugins_url('../js/wdi_responsive.js', __FILE__), array("wdi_instagram"), WDI_VERSION, true);
232
 
233
 
234
  global $wdi_feed_counter_init;
151
  function wdi_load_frontend_scripts()
152
  {
153
 
154
+ wp_enqueue_script('wdi_instagram', WDI_URL . '/js/wdi_instagram.js', array("jquery"), WDI_VERSION, true);
155
 
156
  wp_enqueue_script('underscore');
157
+ wp_enqueue_script('wdi_frontend', WDI_URL . '/js/wdi_frontend.js', array("jquery", 'wdi_instagram', 'underscore'), WDI_VERSION, true);
158
 
159
+ wp_enqueue_script('wdi_responsive', WDI_URL . '/js/wdi_responsive.js', array("jquery", "wdi_frontend"), WDI_VERSION, true);
160
  wp_localize_script("wdi_frontend", 'wdi_ajax', array('ajax_url' => admin_url('admin-ajax.php')), WDI_VERSION);
161
  wp_localize_script("wdi_frontend", 'wdi_url', array('plugin_url' => plugin_dir_url(__FILE__),
162
  'ajax_url' => admin_url('admin-ajax.php')), WDI_VERSION);
181
 
182
  function wdi_load_frontend_styles()
183
  {
184
+ wp_register_style('wdi_frontend_thumbnails', WDI_URL . '/css/wdi_frontend.css', array(), WDI_VERSION);
185
  wp_enqueue_style('wdi_frontend_thumbnails');
186
+ wp_register_style('font-awesome', WDI_URL . '/css/font-awesome/css/font-awesome.css', array(), WDI_VERSION);
187
  wp_enqueue_style('font-awesome');
188
  }
189
 
224
 
225
  wp_dequeue_script('jquery');
226
 
227
+ wp_enqueue_script('wdi_instagram', WDI_FRONT_URL . '/js/wdi_instagram.js', array(), WDI_VERSION, true);
228
 
229
  wp_enqueue_script('underscore');
230
+ wp_enqueue_script('wdi_frontend', WDI_FRONT_URL . '/js/wdi_frontend.js', array('wdi_instagram', 'underscore'), WDI_VERSION, true);
231
+ wp_enqueue_script('wdi_responsive', WDI_FRONT_URL . '/js/wdi_responsive.js', array("wdi_instagram"), WDI_VERSION, true);
232
 
233
 
234
  global $wdi_feed_counter_init;
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.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -38,7 +38,7 @@ No feed data is stored in the database. All the images, videos (Pro), captions a
38
 
39
 
40
  ###IMPORTANT:
41
- If you think you found a bug in Instagram Feed WD or wonder how to add Instagram to your website, or how to get Instagram plugin up and running, please check out [Support Forum](https://web-dorado.com/forum/wordpress-instagram-feed-wd.html) on our website. Additional information on how to download Instagram plugin to your website you can find in our user manual If you do not find a solution in the forum, do not hesitate to [click here to contact us](https://web-dorado.com/support/contact-us.html).
42
 
43
 
44
  = Instagram Feed main features include: =
@@ -110,6 +110,9 @@ After downloading the ZIP file of the Instagram Feed WD plugin,
110
 
111
  == Changelog ==
112
 
 
 
 
113
  = 1.2.3 =
114
  Change: WD library updated to version 1.0.11
115
  Fixed: Error message when editing feed and token is expired
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
 
38
 
39
 
40
  ###IMPORTANT:
41
+ If you think you found a bug in Instagram Feed WD or wonder how to add Instagram to your website, or how to get Instagram plugin up and running, please check out [Support Forum](https://wordpress.org/support/plugin/wd-instagram-feed) . Additional information on how to download Instagram plugin to your website you can find in our user manual If you do not find a solution in the forum, do not hesitate to [click here to contact us](https://web-dorado.com/support/contact-us.html).
42
 
43
 
44
  = Instagram Feed main features include: =
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
+
116
  = 1.2.3 =
117
  Change: WD library updated to version 1.0.11
118
  Fixed: Error message when editing feed and token is expired
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.3
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.3');
25
  define('WDI_IS_PRO','false');
26
 
27
 
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
  //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