Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
scottsweb committed Jan 11, 2018
1 parent e15be28 commit fbb7729
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ In version 1.9.6 you can now use a filter to change the location of your custom

## Changelog

#### 2.0.2
* Use image sizes from JSON due to errors loading images

#### 2.0.1
* Fix hashtag support

Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: scottsweb, codeforthepeople
Tags: instagram, widget, photos, photography, hipster, sidebar, widgets, simple
Requires at least: 4.4
Tested up to: 4.9.1
Stable tag: 2.0.1
Stable tag: 2.0.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -80,6 +80,9 @@ In version 1.9.6 you can now use a filter to change the location of your custom

== Changelog ==

= 2.0.2 =
* Use image sizes from JSON due to errors loading images

= 2.0.1 =
* Fix hashtag support

Expand Down
5 changes: 3 additions & 2 deletions wp-instagram-widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: WP Instagram Widget
Plugin URI: https://github.com/scottsweb/wp-instagram-widget
Description: A WordPress widget for showing your latest Instagram photos.
Version: 2.0.1
Version: 2.0.2
Author: Scott Evans
Author URI: https://scott.ee
Text Domain: wp-instagram-widget
Expand Down Expand Up @@ -233,7 +233,8 @@ function scrape_instagram( $username ) {
$instagram = array();

foreach ( $images as $image ) {
// the hashtag json is now completely different
// Note: keep hashtag support different until these JSON changes stabalise
// these are mostly the same again now
switch ( substr( $username, 0, 1 ) ) {
case '#':
if ( true === $image['node']['is_video'] ) {
Expand Down

0 comments on commit fbb7729

Please sign in to comment.