Version Description
- Fix. Instagram Feed Gallery card date
Download this release
Release Info
Developer | quadlayers |
Plugin | Instagram Gallery |
Version | 2.5.4 |
Comparing to | |
See all releases |
Code changes from version 2.5.3 to 2.5.4
- includes/api.php +10 -8
- insta-gallery.php +2 -2
- readme.txt +4 -1
includes/api.php
CHANGED
@@ -22,17 +22,17 @@ if (!class_exists('QLIGG_API')) {
|
|
22 |
|
23 |
// API generate code generation url
|
24 |
// ---------------------------------------------------------------------------
|
25 |
-
/*public function get_access_code($client_id = null) {
|
26 |
|
27 |
$args = array(
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
);
|
33 |
|
34 |
return add_query_arg($args, "{$this->api_url}/oauth/authorize/");
|
35 |
-
|
36 |
|
37 |
// API call to get access token using authorization code
|
38 |
// ---------------------------------------------------------------------------
|
@@ -126,7 +126,7 @@ if (!class_exists('QLIGG_API')) {
|
|
126 |
|
127 |
preg_match_all("/#(\\w+)/", @$item['caption']['text'], $hashtags);
|
128 |
|
129 |
-
$instagram_items[] = array(
|
130 |
'i' => $i,
|
131 |
'id' => str_replace("_{$item['user']['id']}", '', $item['id']),
|
132 |
'images' => array(
|
@@ -146,8 +146,10 @@ if (!class_exists('QLIGG_API')) {
|
|
146 |
'link' => @$item['link'],
|
147 |
'type' => @$item['type'],
|
148 |
'user_id' => @$item['user']['id'],
|
149 |
-
'date' => date_i18n('j F, Y',
|
150 |
);
|
|
|
|
|
151 |
}
|
152 |
if ($next_max_id && ($next_max_id == $i)) {
|
153 |
$i = $next_max_id;
|
22 |
|
23 |
// API generate code generation url
|
24 |
// ---------------------------------------------------------------------------
|
25 |
+
/* public function get_access_code($client_id = null) {
|
26 |
|
27 |
$args = array(
|
28 |
+
'client_id' => $client_id,
|
29 |
+
'response_type' => 'code',
|
30 |
+
'scope' => 'public_content',
|
31 |
+
'redirect_uri' => urlencode(admin_url('admin.php?page=qligg_token&igigresponse=1'))
|
32 |
);
|
33 |
|
34 |
return add_query_arg($args, "{$this->api_url}/oauth/authorize/");
|
35 |
+
} */
|
36 |
|
37 |
// API call to get access token using authorization code
|
38 |
// ---------------------------------------------------------------------------
|
126 |
|
127 |
preg_match_all("/#(\\w+)/", @$item['caption']['text'], $hashtags);
|
128 |
|
129 |
+
$test = $instagram_items[] = array(
|
130 |
'i' => $i,
|
131 |
'id' => str_replace("_{$item['user']['id']}", '', $item['id']),
|
132 |
'images' => array(
|
146 |
'link' => @$item['link'],
|
147 |
'type' => @$item['type'],
|
148 |
'user_id' => @$item['user']['id'],
|
149 |
+
'date' => date_i18n('j F, Y', @$item['created_time'])
|
150 |
);
|
151 |
+
|
152 |
+
error_log(json_encode($test));
|
153 |
}
|
154 |
if ($next_max_id && ($next_max_id == $i)) {
|
155 |
$i = $next_max_id;
|
insta-gallery.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Instagram Feed Gallery
|
4 |
* Plugin URI: https://quadlayers.com/portfolio/instagram-gallery/
|
5 |
* Description: Display beautifull and responsive galleries on your website from your Instagram feed account.
|
6 |
-
* Version: 2.5.
|
7 |
* Author: Quadlayers
|
8 |
* Author URI: https://quadlayers.com
|
9 |
* License: GPL-2.0+
|
@@ -18,7 +18,7 @@ if (!defined('QLIGG_PLUGIN_NAME')) {
|
|
18 |
define('QLIGG_PLUGIN_NAME', 'Instagram Feed Gallery');
|
19 |
}
|
20 |
if (!defined('QLIGG_PLUGIN_VERSION')) {
|
21 |
-
define('QLIGG_PLUGIN_VERSION', '2.5.
|
22 |
}
|
23 |
if (!defined('QLIGG_PLUGIN_FILE')) {
|
24 |
define('QLIGG_PLUGIN_FILE', __FILE__);
|
3 |
* Plugin Name: Instagram Feed Gallery
|
4 |
* Plugin URI: https://quadlayers.com/portfolio/instagram-gallery/
|
5 |
* Description: Display beautifull and responsive galleries on your website from your Instagram feed account.
|
6 |
+
* Version: 2.5.4
|
7 |
* Author: Quadlayers
|
8 |
* Author URI: https://quadlayers.com
|
9 |
* License: GPL-2.0+
|
18 |
define('QLIGG_PLUGIN_NAME', 'Instagram Feed Gallery');
|
19 |
}
|
20 |
if (!defined('QLIGG_PLUGIN_VERSION')) {
|
21 |
+
define('QLIGG_PLUGIN_VERSION', '2.5.4');
|
22 |
}
|
23 |
if (!defined('QLIGG_PLUGIN_FILE')) {
|
24 |
define('QLIGG_PLUGIN_FILE', __FILE__);
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://quadlayers.com/portfolio/instagram-gallery/
|
|
4 |
Tags: instagram, instagram feed, instagram widget, instagram gallery, instagram pictures, gallery widget, pictures, carousel slider, image gallery, image slider
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 5.2.2
|
7 |
-
Stable tag: 2.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -91,6 +91,9 @@ There may be some other plugins(like: fancybox, elementor) which also uses image
|
|
91 |
|
92 |
== Changelog ==
|
93 |
|
|
|
|
|
|
|
94 |
= 2.5.3 =
|
95 |
* Improvement. Instagram Account disconnet alert
|
96 |
* Improvement. Instagram Feeds clear feeds cache button
|
4 |
Tags: instagram, instagram feed, instagram widget, instagram gallery, instagram pictures, gallery widget, pictures, carousel slider, image gallery, image slider
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 5.2.2
|
7 |
+
Stable tag: 2.5.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
91 |
|
92 |
== Changelog ==
|
93 |
|
94 |
+
= 2.5.4 =
|
95 |
+
* Fix. Instagram Feed Gallery card date
|
96 |
+
|
97 |
= 2.5.3 =
|
98 |
* Improvement. Instagram Account disconnet alert
|
99 |
* Improvement. Instagram Feeds clear feeds cache button
|