Instagram Feed - Version 1.0.1

Version Description

  • Fix: Fixed an issue with the 'Load More' button opening an empty browser window in Firefox
Download this release

Release Info

Developer smashballoon
Plugin Icon 128x128 Instagram Feed
Version 1.0.1
Comparing to
See all releases

Code changes from version 1.0 to 1.0.1

Files changed (3) hide show
  1. README.txt +4 -1
  2. instagram-feed.php +2 -2
  3. js/sb-instagram.js +1 -1
README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: smashballoon
3
  Tags: Instagram, Instagram feed, Instagram photos
4
  Requires at least: 3.0
5
  Tested up to: 3.9.1
6
- Stable tag: 1.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -58,5 +58,8 @@ Nope. The Access Token used in the plugin is a "read only" token, which means th
58
 
59
  == Changelog ==
60
 
 
 
 
61
  = 1.0 =
62
  * Launch!
3
  Tags: Instagram, Instagram feed, Instagram photos
4
  Requires at least: 3.0
5
  Tested up to: 3.9.1
6
+ Stable tag: 1.0.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
58
 
59
  == Changelog ==
60
 
61
+ = 1.0.1 =
62
+ * Fix: Fixed an issue with the 'Load More' button opening an empty browser window in Firefox
63
+
64
  = 1.0 =
65
  * Launch!
instagram-feed.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Instagram Feed
4
  Plugin URI: http://smashballoon.com/instagram-feed
5
  Description: Add a simple customizable Instagram feed to your website
6
- Version: 1.0
7
  Author: Smash Balloon
8
  Author URI: http://smashballoon.com/
9
  License: GPLv2 or later
@@ -126,7 +126,7 @@ function sb_instagram_styles_enqueue() {
126
  add_action( 'wp_enqueue_scripts', 'sb_instagram_scripts_enqueue' );
127
  function sb_instagram_scripts_enqueue() {
128
  //Register the script to make it available
129
- wp_register_script( 'sb_instagram_scripts', plugins_url( '/js/sb-instagram.js' , __FILE__ ), array('jquery'), '1.8', true );
130
 
131
  //Options to pass to JS file
132
  $sb_instagram_settings = get_option('sb_instagram_settings');
3
  Plugin Name: Instagram Feed
4
  Plugin URI: http://smashballoon.com/instagram-feed
5
  Description: Add a simple customizable Instagram feed to your website
6
+ Version: 1.0.1
7
  Author: Smash Balloon
8
  Author URI: http://smashballoon.com/
9
  License: GPLv2 or later
126
  add_action( 'wp_enqueue_scripts', 'sb_instagram_scripts_enqueue' );
127
  function sb_instagram_scripts_enqueue() {
128
  //Register the script to make it available
129
+ wp_register_script( 'sb_instagram_scripts', plugins_url( '/js/sb-instagram.js?1' , __FILE__ ), array('jquery'), '1.8', true );
130
 
131
  //Options to pass to JS file
132
  $sb_instagram_settings = get_option('sb_instagram_settings');
js/sb-instagram.js CHANGED
@@ -47,7 +47,7 @@
47
  userFeed.run();
48
 
49
  //Add target blank to content loaded in via ajax
50
- $(document).on('click', 'a', function(e){
51
  $(this).attr('target','_blank');
52
  });
53
 
47
  userFeed.run();
48
 
49
  //Add target blank to content loaded in via ajax
50
+ $(document).on('click', '#sbi_images a', function(e){
51
  $(this).attr('target','_blank');
52
  });
53