Easy Digital Downloads - Version 2.6.16

Version Description

Download this release

Release Info

Developer mordauk
Plugin Icon 128x128 Easy Digital Downloads
Version 2.6.16
Comparing to
See all releases

Code changes from version 2.6.15 to 2.6.16

easy-digital-downloads.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Easy Digital Downloads
7
  * Author URI: https://easydigitaldownloads.com
8
- * Version: 2.6.15
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
@@ -25,7 +25,7 @@
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
- * @version 2.6.15
29
  */
30
 
31
  // Exit if accessed directly.
@@ -196,7 +196,7 @@ final class Easy_Digital_Downloads {
196
 
197
  // Plugin version.
198
  if ( ! defined( 'EDD_VERSION' ) ) {
199
- define( 'EDD_VERSION', '2.6.15' );
200
  }
201
 
202
  // Plugin Folder Path.
5
  * Description: The easiest way to sell digital products with WordPress.
6
  * Author: Easy Digital Downloads
7
  * Author URI: https://easydigitaldownloads.com
8
+ * Version: 2.6.16
9
  * Text Domain: easy-digital-downloads
10
  * Domain Path: languages
11
  *
25
  * @package EDD
26
  * @category Core
27
  * @author Pippin Williamson
28
+ * @version 2.6.16
29
  */
30
 
31
  // Exit if accessed directly.
196
 
197
  // Plugin version.
198
  if ( ! defined( 'EDD_VERSION' ) ) {
199
+ define( 'EDD_VERSION', '2.6.16' );
200
  }
201
 
202
  // Plugin Folder Path.
includes/process-download.php CHANGED
@@ -863,7 +863,7 @@ add_filter( 'edd_requested_file', 'edd_set_requested_file_scheme', 10, 3 );
863
  function edd_check_file_url_head( $requested_file, $args, $method ) {
864
 
865
  // If this is a file URL (not a path), perform a head request to determine if it's valid
866
- if( filter_var( $requested_file, FILTER_VALIDATE_URL ) ) {
867
 
868
  $valid = true;
869
  $request = wp_remote_head( $requested_file );
863
  function edd_check_file_url_head( $requested_file, $args, $method ) {
864
 
865
  // If this is a file URL (not a path), perform a head request to determine if it's valid
866
+ if( filter_var( $requested_file, FILTER_VALIDATE_URL ) && ! edd_is_local_file( $requested_file ) ) {
867
 
868
  $valid = true;
869
  $request = wp_remote_head( $requested_file );
readme.txt CHANGED
@@ -6,7 +6,7 @@ Donate link: https://easydigitaldownloads.com/donate/
6
  Tags: download, downloads, e-store, eshop, digital downloads, e-commerce, wp-ecommerce, wp ecommerce
7
  Requires at least: 4.0
8
  Tested up to: 4.8
9
- Stable Tag: 2.6.15
10
 
11
  License: GNU Version 2 or Any Later Version
12
 
@@ -187,6 +187,9 @@ Yes, through the addition of one or more of the add-on payment gateways, you can
187
 
188
  == Changelog ==
189
 
 
 
 
190
  = 2.6.15, December 19, 2016 =
191
  * Fix: Conflict with some object caching configurations and the extension update checks that resulted in poor performance.
192
 
6
  Tags: download, downloads, e-store, eshop, digital downloads, e-commerce, wp-ecommerce, wp ecommerce
7
  Requires at least: 4.0
8
  Tested up to: 4.8
9
+ Stable Tag: 2.6.16
10
 
11
  License: GNU Version 2 or Any Later Version
12
 
187
 
188
  == Changelog ==
189
 
190
+ = 2.6.16, December 21, 2016 =
191
+ * Fix: 404 errors when downloading some files
192
+
193
  = 2.6.15, December 19, 2016 =
194
  * Fix: Conflict with some object caching configurations and the extension update checks that resulted in poor performance.
195