Skip to content

Commit

Permalink
Merge branch 'release/1.4.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sommerregen committed Jan 11, 2017
2 parents cca63cf + 71b31f1 commit cf376ab
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 22 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v1.4.4
## 11/01/2017

3. [](#bugfix)
* Fixed `CURLOPT_AUTOREFERER` constant

# v1.4.3
## 10/31/2016

Expand Down Expand Up @@ -87,15 +93,15 @@
1. [](#new)
* By default `External Links` now uses the class `external-links` for CSS styling; using `external` is still possible e.g. for manually markup external links
2. [](#improved)
* Improved usage example in README.md
* Improved usage example in `README.md`
3. [](#bugfix)
* Fixed [#1](https://github.com/Sommerregen/grav-plugin-external-links/issues/4) (Issue with LightSlider plugin)

# v1.1.1
## 02/06/2015

1. [](#new)
* Added usage example in README.md
* Added usage example in `README.md`
* Add icons next to external links via CSS when using class `external` only
2. [](#improved)
* Added support for HHVM **(requires Grav 0.9.17+)**
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.4.3
version: 1.4.4
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
4 changes: 2 additions & 2 deletions classes/ExternalLinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ protected function getRemoteImageSize($uri, $limit = -1)
$options = array(
CURLOPT_HEADER => false, // Don't return headers
CURLOPT_FOLLOWLOCATION => true, // Follow redirects
CURLOPT_AUT||EFERER => true, // Set referrer on redirect
CURLOPT_AUTOREFERER => true, // Set referrer on redirect
CURLOPT_CONNECTTIMEOUT => 120, // Timeout on connect
CURLOPT_TIMEOUT => 120, // Timeout on response
CURLOPT_MAXREDIRS => 10, // Stop after 10 redirects
Expand All @@ -359,7 +359,7 @@ protected function getRemoteImageSize($uri, $limit = -1)
$curl = curl_init();
curl_setopt_array($curl, $options);

if ( $limit > 0 ) {
if ($limit > 0) {
// Loading number of $limit
$headers = array('Range: bytes=0-' . $limit);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
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.4.3
* External Links v1.4.4
*
* 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.4.3
* @version 1.4.4
* @link <https://github.com/sommerregen/grav-plugin-external-links>
* @author Benjamin Regler <[email protected]>
* @copyright 2016, Benjamin Regler
Expand Down
15 changes: 0 additions & 15 deletions hebe.json

This file was deleted.

0 comments on commit cf376ab

Please sign in to comment.