Download Monitor - Version 4.4.6

Version Description

  • 20.10.2021 = Fixed: Checking for modifications to the upload folder
Download this release

Release Info

Developer giucu91
Plugin Icon 128x128 Download Monitor
Version 4.4.6
Comparing to
See all releases

Code changes from version 4.4.5 to 4.4.6

Files changed (3) hide show
  1. download-monitor.php +2 -2
  2. readme.txt +5 -2
  3. src/FileManager.php +1 -1
download-monitor.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Download Monitor
4
  Plugin URI: https://www.download-monitor.com
5
  Description: A full solution for managing and selling downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
6
- Version: 4.4.5
7
  Author: WPChill
8
  Author URI: https://wpchill.com
9
  Requires at least: 5.4
@@ -33,7 +33,7 @@ if ( ! defined( 'ABSPATH' ) ) {
33
  } // Exit if accessed directly
34
 
35
  // Define DLM Version
36
- define( 'DLM_VERSION', '4.4.5' );
37
 
38
  // Define DLM FILE
39
  define( 'DLM_PLUGIN_FILE', __FILE__ );
3
  Plugin Name: Download Monitor
4
  Plugin URI: https://www.download-monitor.com
5
  Description: A full solution for managing and selling downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
6
+ Version: 4.4.6
7
  Author: WPChill
8
  Author URI: https://wpchill.com
9
  Requires at least: 5.4
33
  } // Exit if accessed directly
34
 
35
  // Define DLM Version
36
+ define( 'DLM_VERSION', '4.4.6' );
37
 
38
  // Define DLM FILE
39
  define( 'DLM_PLUGIN_FILE', __FILE__ );
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: wpchill, silkalns, barrykooij, mikejolley
3
  Tags: download, downloads, monitor, hits, download monitor, tracking, admin, count, files, versions, logging, digital, documents, download category, download manager, download template, downloadmanager, file manager, file tree, grid, hits, ip-address, manager, media, monitor, password, protect downloads, tracker, sell, shop, ecommerce, paypal
4
  Requires at least: 5.4
5
- Tested up to: 5.7
6
- Stable tag: 4.4.5
7
  License: GPLv3
8
  Text Domain: -
9
  Requires PHP: 5.6
@@ -117,6 +117,9 @@ More documentation can be found in our [Knowledge Base](https://www.download-mon
117
 
118
  == Changelog ==
119
 
 
 
 
120
  = 4.4.5 - 20.10.2021 =
121
  Fixed: PHP 8 bug - slow query ( https://github.com/WPChill/download-monitor/issues/685 )
122
  Fixed: Deprecated PHP 8 notice (https://github.com/WPChill/download-monitor/issues/682 thanks to @ashleyfae )
2
  Contributors: wpchill, silkalns, barrykooij, mikejolley
3
  Tags: download, downloads, monitor, hits, download monitor, tracking, admin, count, files, versions, logging, digital, documents, download category, download manager, download template, downloadmanager, file manager, file tree, grid, hits, ip-address, manager, media, monitor, password, protect downloads, tracker, sell, shop, ecommerce, paypal
4
  Requires at least: 5.4
5
+ Tested up to: 5.8
6
+ Stable tag: 4.4.6
7
  License: GPLv3
8
  Text Domain: -
9
  Requires PHP: 5.6
117
 
118
  == Changelog ==
119
 
120
+ = 4.4.6 - 20.10.2021 =
121
+ Fixed: Checking for modifications to the upload folder
122
+
123
  = 4.4.5 - 20.10.2021 =
124
  Fixed: PHP 8 bug - slow query ( https://github.com/WPChill/download-monitor/issues/685 )
125
  Fixed: Deprecated PHP 8 notice (https://github.com/WPChill/download-monitor/issues/682 thanks to @ashleyfae )
src/FileManager.php CHANGED
@@ -54,7 +54,7 @@ class DLM_File_Manager {
54
  $wp_uploads_url = $wp_uploads['baseurl'];
55
 
56
  // Fix for plugins that modify the uploads dir
57
- if ( ! strpos( get_site_url(), $wp_uploads_url ) ) {
58
  return array( $file_path, $remote_file );
59
  }
60
 
54
  $wp_uploads_url = $wp_uploads['baseurl'];
55
 
56
  // Fix for plugins that modify the uploads dir
57
+ if ( false === strpos( $wp_uploads_url,get_site_url() ) ) {
58
  return array( $file_path, $remote_file );
59
  }
60