Version Description
- New. removed assets and author to resolve Instagram trademark infringement
- Fix. "Invalid scope field(s): public_content"
Download this release
Release Info
| Developer | quadlayers |
| Plugin | |
| Version | 2.4.6 |
| Comparing to | |
| See all releases | |
Code changes from version 2.4.5 to 2.4.6
- assets/img/demo-carousel.jpg +0 -0
- assets/img/demo-gallery.jpg +0 -0
- assets/img/gallery.jpg +0 -0
- assets/img/logo.jpg +0 -0
- assets/img/logo.png +0 -0
- assets/img/mobile.png +0 -0
- includes/api.php +3 -3
- includes/pages/welcome.php +1 -1
- insta-gallery.php +3 -3
- readme.txt +5 -1
assets/img/demo-carousel.jpg
DELETED
|
Binary file
|
assets/img/demo-gallery.jpg
DELETED
|
Binary file
|
assets/img/gallery.jpg
DELETED
|
Binary file
|
assets/img/logo.jpg
CHANGED
|
Binary file
|
assets/img/logo.png
DELETED
|
Binary file
|
assets/img/mobile.png
ADDED
|
Binary file
|
includes/api.php
CHANGED
|
@@ -17,12 +17,12 @@ if (!class_exists('QLIGG_API')) {
|
|
| 17 |
$admin_url = admin_url('admin.php?page-qligg_token');
|
| 18 |
$client_id = '6e628e63145746bcb684912009514665';
|
| 19 |
|
| 20 |
-
return "{$this->instagram_url}/oauth/authorize/?client_id={$client_id}&scope=basic
|
| 21 |
}
|
| 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,
|
|
@@ -32,7 +32,7 @@ if (!class_exists('QLIGG_API')) {
|
|
| 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 |
// ---------------------------------------------------------------------------
|
| 17 |
$admin_url = admin_url('admin.php?page-qligg_token');
|
| 18 |
$client_id = '6e628e63145746bcb684912009514665';
|
| 19 |
|
| 20 |
+
return "{$this->instagram_url}/oauth/authorize/?client_id={$client_id}&scope=basic&redirect_uri=https://instagram.quadlayers.com/index.php?return_uri={$admin_url}&response_type=token&state={$admin_url}&hl=en";
|
| 21 |
}
|
| 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,
|
| 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 |
// ---------------------------------------------------------------------------
|
includes/pages/welcome.php
CHANGED
|
@@ -34,6 +34,6 @@ if (!defined('ABSPATH'))
|
|
| 34 |
</div>
|
| 35 |
</div>
|
| 36 |
<div class="column">
|
| 37 |
-
<img src="<?php echo plugins_url('/assets/img/
|
| 38 |
</div>
|
| 39 |
</div>
|
| 34 |
</div>
|
| 35 |
</div>
|
| 36 |
<div class="column">
|
| 37 |
+
<img src="<?php echo plugins_url('/assets/img/mobile.png', QLIGG_PLUGIN_FILE); ?>">
|
| 38 |
</div>
|
| 39 |
</div>
|
insta-gallery.php
CHANGED
|
@@ -3,8 +3,8 @@
|
|
| 3 |
* Plugin Name: WP 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.4.
|
| 7 |
-
* Author:
|
| 8 |
* Author URI: https://quadlayers.com
|
| 9 |
* License: GPL-2.0+
|
| 10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
|
@@ -18,7 +18,7 @@ if (!defined('QLIGG_PLUGIN_NAME')) {
|
|
| 18 |
define('QLIGG_PLUGIN_NAME', 'Instagram Gallery');
|
| 19 |
}
|
| 20 |
if (!defined('QLIGG_PLUGIN_VERSION')) {
|
| 21 |
-
define('QLIGG_PLUGIN_VERSION', '2.4.
|
| 22 |
}
|
| 23 |
if (!defined('QLIGG_PLUGIN_FILE')) {
|
| 24 |
define('QLIGG_PLUGIN_FILE', __FILE__);
|
| 3 |
* Plugin Name: WP 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.4.6
|
| 7 |
+
* Author: Quadlayers
|
| 8 |
* Author URI: https://quadlayers.com
|
| 9 |
* License: GPL-2.0+
|
| 10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
| 18 |
define('QLIGG_PLUGIN_NAME', 'Instagram Gallery');
|
| 19 |
}
|
| 20 |
if (!defined('QLIGG_PLUGIN_VERSION')) {
|
| 21 |
+
define('QLIGG_PLUGIN_VERSION', '2.4.6');
|
| 22 |
}
|
| 23 |
if (!defined('QLIGG_PLUGIN_FILE')) {
|
| 24 |
define('QLIGG_PLUGIN_FILE', __FILE__);
|
readme.txt
CHANGED
|
@@ -5,7 +5,7 @@ Tags: instagram, instagram feed, instagram widget, instagram gallery, instagram
|
|
| 5 |
Requires at least: 4.6
|
| 6 |
Tested up to: 5.2
|
| 7 |
Requires PHP: 5.3
|
| 8 |
-
Stable tag: 2.4.
|
| 9 |
License: GPLv2 or later
|
| 10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 11 |
|
|
@@ -88,6 +88,10 @@ There may be some other plugins(like: fancybox, elementor) which also uses image
|
|
| 88 |
|
| 89 |
== Changelog ==
|
| 90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
= 2.4.5 =
|
| 92 |
* Fix. remove rating alert
|
| 93 |
|
| 5 |
Requires at least: 4.6
|
| 6 |
Tested up to: 5.2
|
| 7 |
Requires PHP: 5.3
|
| 8 |
+
Stable tag: 2.4.6
|
| 9 |
License: GPLv2 or later
|
| 10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 11 |
|
| 88 |
|
| 89 |
== Changelog ==
|
| 90 |
|
| 91 |
+
= 2.4.6 =
|
| 92 |
+
* New. removed assets and author to resolve Instagram trademark infringement
|
| 93 |
+
* Fix. "Invalid scope field(s): public_content"
|
| 94 |
+
|
| 95 |
= 2.4.5 =
|
| 96 |
* Fix. remove rating alert
|
| 97 |
|
