Download Monitor - Version 4.0.6

Version Description

Download this release

Release Info

Developer barrykooij
Plugin Icon 128x128 Download Monitor
Version 4.0.6
Comparing to
See all releases

Code changes from version 4.0.5 to 4.0.6

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 downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
6
- Version: 4.0.5
7
  Author: Never5
8
  Author URI: https://www.never5.com
9
  Requires at least: 3.8
@@ -33,7 +33,7 @@ if ( ! defined( 'ABSPATH' ) ) {
33
  } // Exit if accessed directly
34
 
35
  // Define DLM Version
36
- define( 'DLM_VERSION', '4.0.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 downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
6
+ Version: 4.0.6
7
  Author: Never5
8
  Author URI: https://www.never5.com
9
  Requires at least: 3.8
33
  } // Exit if accessed directly
34
 
35
  // Define DLM Version
36
+ define( 'DLM_VERSION', '4.0.6' );
37
 
38
  // Define DLM FILE
39
  define( 'DLM_PLUGIN_FILE', __FILE__ );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.barrykooij.com/donate/
4
  Tags: download, downloads, monitor, hits, download monitor, tracking, admin, count, counter, files, versions, download count, logging, AJAX, digital, documents, download category, download manager, download template, downloadmanager, file manager, file tree, grid, hits, ip-address, manager, media, monitor, password, protect downloads, tracker
5
  Requires at least: 3.8
6
  Tested up to: 4.9.4
7
- Stable tag: 4.0.5
8
  License: GPLv3
9
  Text Domain: -
10
 
@@ -114,6 +114,9 @@ More documentation can be found in our [Knowledge Base](https://www.download-mon
114
 
115
  == Changelog ==
116
 
 
 
 
117
  = 4.0.5: February 21, 2018 =
118
  * Tweak: Fixed a bug that caused the "Add file" button to not appear on the Add New Download screen.
119
  * Tweak: Fixed a bug that caused the crc32b hash not to be saved when adding a download via the 'Quick-add Download' option.
4
  Tags: download, downloads, monitor, hits, download monitor, tracking, admin, count, counter, files, versions, download count, logging, AJAX, digital, documents, download category, download manager, download template, downloadmanager, file manager, file tree, grid, hits, ip-address, manager, media, monitor, password, protect downloads, tracker
5
  Requires at least: 3.8
6
  Tested up to: 4.9.4
7
+ Stable tag: 4.0.6
8
  License: GPLv3
9
  Text Domain: -
10
 
114
 
115
  == Changelog ==
116
 
117
+ = 4.0.6: March 8, 2018 =
118
+ * Tweak: Fixed a bug in the version-list template, correct version links are now displayed.
119
+
120
  = 4.0.5: February 21, 2018 =
121
  * Tweak: Fixed a bug that caused the "Add file" button to not appear on the Add New Download screen.
122
  * Tweak: Fixed a bug that caused the crc32b hash not to be saved when adding a download via the 'Quick-add Download' option.
templates/content-download-version-list.php CHANGED
@@ -16,6 +16,9 @@ if ( $versions ) : ?>
16
  <?php
17
  /** @var DLM_Download_Version $version */
18
  foreach ( $versions as $version ) {
 
 
 
19
  ?>
20
  <li><a class="download-link"
21
  title="<?php printf( _n( 'Downloaded 1 time', 'Downloaded %d times', $dlm_download->get_download_count(), 'download-monitor' ), $dlm_download->get_download_count() ) ?>"
16
  <?php
17
  /** @var DLM_Download_Version $version */
18
  foreach ( $versions as $version ) {
19
+
20
+ // set loop version as current version
21
+ $dlm_download->set_version( $version );
22
  ?>
23
  <li><a class="download-link"
24
  title="<?php printf( _n( 'Downloaded 1 time', 'Downloaded %d times', $dlm_download->get_download_count(), 'download-monitor' ), $dlm_download->get_download_count() ) ?>"