Enjoy Instagram feed on website with WordPress Widget and Shortcode - Version 1.6.3

Version Description

  • Bug Fix

=

Download this release

Release Info

Developer mediabeta
Plugin Icon 128x128 Enjoy Instagram feed on website with WordPress Widget and Shortcode
Version 1.6.3
Comparing to
See all releases

Code changes from version 1.6.2 to 1.6.3

Files changed (2) hide show
  1. enjoyinstagram.php +16 -4
  2. readme.txt +7 -3
enjoyinstagram.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Enjoy Instagram
4
  Plugin URI: http://www.mediabeta.com/enjoy-instagram/
5
  Description: Instagram Responsive Images Gallery and Carousel, works with Shortcodes and Widgets.
6
- Version: 1.6.2
7
  Author: F. Prestipino, F. Di Pane - Mediabeta Srl
8
  Author URI: http://www.mediabeta.com/team/
9
  */
@@ -138,6 +138,7 @@ class Settings_enjoyinstagram_Plugin {
138
  <?php $this->plugin_options_tabs(); ?>
139
  <?php
140
  if($tab == 'enjoyinstagram_general_settings') {
 
141
  if(isset($_GET['code']) && $_GET['code']!=''){
142
 
143
  // get access token
@@ -145,7 +146,7 @@ class Settings_enjoyinstagram_Plugin {
145
  $client_id = get_option('enjoyinstagram_client_id');
146
  $client_secret = get_option('enjoyinstagram_client_secret');
147
  $redirect_uri = admin_url('options-general.php?page=enjoyinstagram_plugin_options&tab=enjoyinstagram_general_settings');
148
- $code = $_GET['code'];
149
 
150
  $apiData = array(
151
  'client_id' => $client_id,
@@ -188,7 +189,8 @@ class Settings_enjoyinstagram_Plugin {
188
  // get accee token fine
189
  include('library/profile_auth.php');
190
 
191
- }else{
 
192
 
193
  if(!(get_option('enjoyinstagram_access_token'))){
194
  include('library/autenticazione.php');
@@ -506,7 +508,17 @@ function isHttps() {
506
  }
507
 
508
 
509
- //require('custom_editor_button/shortcode_button.php');
 
 
 
 
 
 
 
 
 
 
510
 
511
  include_once ('tinymce/tinymce.php');
512
  require_once ('tinymce/ajax.php');
3
  Plugin Name: Enjoy Instagram
4
  Plugin URI: http://www.mediabeta.com/enjoy-instagram/
5
  Description: Instagram Responsive Images Gallery and Carousel, works with Shortcodes and Widgets.
6
+ Version: 1.6.3
7
  Author: F. Prestipino, F. Di Pane - Mediabeta Srl
8
  Author URI: http://www.mediabeta.com/team/
9
  */
138
  <?php $this->plugin_options_tabs(); ?>
139
  <?php
140
  if($tab == 'enjoyinstagram_general_settings') {
141
+
142
  if(isset($_GET['code']) && $_GET['code']!=''){
143
 
144
  // get access token
146
  $client_id = get_option('enjoyinstagram_client_id');
147
  $client_secret = get_option('enjoyinstagram_client_secret');
148
  $redirect_uri = admin_url('options-general.php?page=enjoyinstagram_plugin_options&tab=enjoyinstagram_general_settings');
149
+ $code = sanitize_text_field($_GET['code']);
150
 
151
  $apiData = array(
152
  'client_id' => $client_id,
189
  // get accee token fine
190
  include('library/profile_auth.php');
191
 
192
+ }
193
+ else{
194
 
195
  if(!(get_option('enjoyinstagram_access_token'))){
196
  include('library/autenticazione.php');
508
  }
509
 
510
 
511
+ function enjoy_notice() {
512
+ ?>
513
+ <div class="updated" id="">
514
+ <p>Upgrade to <b style="color:#FF6E00;">Enjoy Instagram Premium</b> <a target="_blank" href="http://www.mediabetaprojects.com/enjoy-instagram-premium/">here</a><br />
515
+ <b style="color:#FF6E00;">15% OFF</b> with this CODE: <b style="color:#FF6E00;">discount15</b><br />
516
+ But only until <b>September 15</b></p>
517
+ </div>
518
+
519
+ <?php
520
+ }
521
+ add_action( 'admin_notices', 'enjoy_notice' );
522
 
523
  include_once ('tinymce/tinymce.php');
524
  require_once ('tinymce/ajax.php');
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: (mediabeta, frafra85, fabiodipa)
3
  Donate link: https://www.google.com/url?q=https%3A%2F%2Fwww.paypal.com%2Fcgi-bin%2Fwebscr%3Fcmd%3D_s-xclick%26hosted_button_id%3D8MXZ37DWHAX46&sa=D&sntz=1&usg=AFQjCNFHixLdowdc2AAEXDYmM9tQBl-TXQ
4
  Tags: Instagram plugin, Instagram, Instagram gallery, Instagram images, Lightbox Instagram,Grid Instagram view, Instagram responsive, Instagram touch, Instagram photos,Instagram posts, Instagram page, Instagram widgets
5
  Requires at least: 3.0.1
6
- Tested up to: 4.2.2
7
- Version: 1.6.2
8
- Stable tag: 1.6.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -125,6 +125,8 @@ Repeat Step 01 and Step 02 again.
125
  * Fix hashtag mode
126
  = 1.6.2 =
127
  * Bug Fix
 
 
128
 
129
  == Upgrade Notice ==
130
 
@@ -153,4 +155,6 @@ Repeat Step 01 and Step 02 again.
153
  = 1.6.1 =
154
  * Fix hashtag mode
155
  = 1.6.2 =
 
 
156
  * Bug Fix
3
  Donate link: https://www.google.com/url?q=https%3A%2F%2Fwww.paypal.com%2Fcgi-bin%2Fwebscr%3Fcmd%3D_s-xclick%26hosted_button_id%3D8MXZ37DWHAX46&sa=D&sntz=1&usg=AFQjCNFHixLdowdc2AAEXDYmM9tQBl-TXQ
4
  Tags: Instagram plugin, Instagram, Instagram gallery, Instagram images, Lightbox Instagram,Grid Instagram view, Instagram responsive, Instagram touch, Instagram photos,Instagram posts, Instagram page, Instagram widgets
5
  Requires at least: 3.0.1
6
+ Tested up to: 4.3
7
+ Version: 1.6.3
8
+ Stable tag: 1.6.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
125
  * Fix hashtag mode
126
  = 1.6.2 =
127
  * Bug Fix
128
+ = 1.6.3 =
129
+ * Bug Fix
130
 
131
  == Upgrade Notice ==
132
 
155
  = 1.6.1 =
156
  * Fix hashtag mode
157
  = 1.6.2 =
158
+ * Bug Fix
159
+ = 1.6.3 =
160
  * Bug Fix