Version Description
Download this release
Release Info
| Developer | barrykooij |
| Plugin | |
| Version | 1.7.2 |
| Comparing to | |
| See all releases | |
Code changes from version 1.7.1 to 1.7.2
- download-monitor.php +3 -3
- includes/admin/class-dlm-logging-list-table.php +9 -2
- readme.txt +5 -2
download-monitor.php
CHANGED
|
@@ -3,11 +3,11 @@
|
|
| 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: 1.7.
|
| 7 |
Author: Barry Kooij & Mike Jolley
|
| 8 |
Author URI: https://www.download-monitor.com
|
| 9 |
Requires at least: 3.8
|
| 10 |
-
Tested up to: 4.
|
| 11 |
|
| 12 |
License: GPL v3
|
| 13 |
|
|
@@ -30,7 +30,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
| 30 |
} // Exit if accessed directly
|
| 31 |
|
| 32 |
// Define DLM Version
|
| 33 |
-
define( 'DLM_VERSION', '1.7.
|
| 34 |
|
| 35 |
function __download_monitor_main() {
|
| 36 |
|
| 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: 1.7.2
|
| 7 |
Author: Barry Kooij & Mike Jolley
|
| 8 |
Author URI: https://www.download-monitor.com
|
| 9 |
Requires at least: 3.8
|
| 10 |
+
Tested up to: 4.2.1
|
| 11 |
|
| 12 |
License: GPL v3
|
| 13 |
|
| 30 |
} // Exit if accessed directly
|
| 31 |
|
| 32 |
// Define DLM Version
|
| 33 |
+
define( 'DLM_VERSION', '1.7.2' );
|
| 34 |
|
| 35 |
function __download_monitor_main() {
|
| 36 |
|
includes/admin/class-dlm-logging-list-table.php
CHANGED
|
@@ -7,6 +7,13 @@
|
|
| 7 |
*/
|
| 8 |
class DLM_Logging_List_Table extends WP_List_Table {
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
/**
|
| 11 |
* __construct function.
|
| 12 |
*
|
|
@@ -265,7 +272,7 @@ class DLM_Logging_List_Table extends WP_List_Table {
|
|
| 265 |
$this->set_pagination_args( array(
|
| 266 |
'total_items' => $total_items,
|
| 267 |
'per_page' => $per_page,
|
| 268 |
-
'total_pages' => ceil( $total_items / $per_page )
|
| 269 |
) );
|
| 270 |
|
| 271 |
// Parser
|
|
@@ -273,6 +280,6 @@ class DLM_Logging_List_Table extends WP_List_Table {
|
|
| 273 |
require_once( "uaparser/uaparser.php" );
|
| 274 |
}
|
| 275 |
|
| 276 |
-
$this->uaparser = new UAParser;
|
| 277 |
}
|
| 278 |
}
|
| 7 |
*/
|
| 8 |
class DLM_Logging_List_Table extends WP_List_Table {
|
| 9 |
|
| 10 |
+
private $filter_status = '';
|
| 11 |
+
private $logs_per_page = 25;
|
| 12 |
+
private $filter_month = '';
|
| 13 |
+
|
| 14 |
+
/** @var UAParser */
|
| 15 |
+
private $uaparser = null;
|
| 16 |
+
|
| 17 |
/**
|
| 18 |
* __construct function.
|
| 19 |
*
|
| 272 |
$this->set_pagination_args( array(
|
| 273 |
'total_items' => $total_items,
|
| 274 |
'per_page' => $per_page,
|
| 275 |
+
'total_pages' => ( ( $total_items > 0 ) ? ceil( $total_items / $per_page ) : 1 )
|
| 276 |
) );
|
| 277 |
|
| 278 |
// Parser
|
| 280 |
require_once( "uaparser/uaparser.php" );
|
| 281 |
}
|
| 282 |
|
| 283 |
+
$this->uaparser = new UAParser();
|
| 284 |
}
|
| 285 |
}
|
readme.txt
CHANGED
|
@@ -3,8 +3,8 @@ Contributors: barrykooij, mikejolley
|
|
| 3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=barry@cageworks.nl&item_name=Donation+for+Download+Monitor
|
| 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.
|
| 7 |
-
Stable tag: 1.7.
|
| 8 |
License: GPLv3
|
| 9 |
|
| 10 |
Download Monitor is a plugin for uploading and managing downloads, tracking downloads, and displaying links.
|
|
@@ -107,6 +107,9 @@ Legacy versions can still be [found here](http://wordpress.org/plugins/download-
|
|
| 107 |
|
| 108 |
== Changelog ==
|
| 109 |
|
|
|
|
|
|
|
|
|
|
| 110 |
= 1.7.1: April 17, 2015 =
|
| 111 |
* Pass third arg to add_query_arg to prevent XSS.
|
| 112 |
|
| 3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=barry@cageworks.nl&item_name=Donation+for+Download+Monitor
|
| 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.2.1
|
| 7 |
+
Stable tag: 1.7.2
|
| 8 |
License: GPLv3
|
| 9 |
|
| 10 |
Download Monitor is a plugin for uploading and managing downloads, tracking downloads, and displaying links.
|
| 107 |
|
| 108 |
== Changelog ==
|
| 109 |
|
| 110 |
+
= 1.7.2: April 29, 2015 =
|
| 111 |
+
* Fixed a bug that caused logs not to be displayed in WP 4.2.
|
| 112 |
+
|
| 113 |
= 1.7.1: April 17, 2015 =
|
| 114 |
* Pass third arg to add_query_arg to prevent XSS.
|
| 115 |
|
