Skip to content

Commit

Permalink
Merge branch 'release/1.5.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sommerregen committed Feb 10, 2017
2 parents 39cb4c1 + 7d68b6a commit d2476a1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v1.5.1
## 02/10/2017

3. [](#bugfix)
* Fixed error in getting the remote image size

# v1.5.0
## 02/09/2017

Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "External Links"
version: "1.5.0"
version: "1.5.1"
description: "This plugin adds small icons to external and mailto links, informing users the link will take them to a new site or open their email client."
icon: "external-link"
author:
Expand Down
2 changes: 1 addition & 1 deletion classes/ExternalLinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ protected function getRemoteImageSize($uri, $limit = -1)
}

// Open temporary file
$tmp = fopen($tmp_name, 'rb');
$tmp = fopen($tmp_name, 'wb');

// Check which method we should use to get remote image sizes
$allow_url_fopen = ini_get('allow_url_fopen') ? true : false;
Expand Down
4 changes: 2 additions & 2 deletions external_links.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* External Links v1.5.0
* External Links v1.5.1
*
* This plugin adds small icons to external and mailto links, informing
* users the link will take them to a new site or open their email client.
Expand All @@ -9,7 +9,7 @@
* http://benjamin-regler.de/license/
*
* @package External Links
* @version 1.5.0
* @version 1.5.1
* @link <https://github.com/sommerregen/grav-plugin-external-links>
* @author Benjamin Regler <[email protected]>
* @copyright 2017, Benjamin Regler
Expand Down

0 comments on commit d2476a1

Please sign in to comment.