Download Monitor - Version 1.7.1

Version Description

Download this release

Release Info

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

Code changes from version 1.7.0 to 1.7.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 downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
6
- Version: 1.7.0
7
  Author: Barry Kooij & Mike Jolley
8
  Author URI: https://www.download-monitor.com
9
  Requires at least: 3.8
@@ -30,7 +30,7 @@ if ( ! defined( 'ABSPATH' ) ) {
30
  } // Exit if accessed directly
31
 
32
  // Define DLM Version
33
- define( 'DLM_VERSION', '1.7.0' );
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.1
7
  Author: Barry Kooij & Mike Jolley
8
  Author URI: https://www.download-monitor.com
9
  Requires at least: 3.8
30
  } // Exit if accessed directly
31
 
32
  // Define DLM Version
33
+ define( 'DLM_VERSION', '1.7.1' );
34
 
35
  function __download_monitor_main() {
36
 
includes/admin/class-dlm-admin-extensions.php CHANGED
@@ -42,7 +42,7 @@ class DLM_Admin_Extensions {
42
  ?>
43
  <div class="wrap dlm_extensions_wrap">
44
  <div class="icon32 icon32-posts-dlm_download" id="icon-edit"><br/></div>
45
- <h2><?php _e( 'Download Monitor Extensions', 'download-monitor' ); ?> <a href="<?php echo add_query_arg( 'dlm-force-recheck', '1' ); ?>" class="button dlm-reload-button">Reload Extensions</a></h2>
46
  <?php
47
 
48
  if ( false !== $extension_json ) {
42
  ?>
43
  <div class="wrap dlm_extensions_wrap">
44
  <div class="icon32 icon32-posts-dlm_download" id="icon-edit"><br/></div>
45
+ <h2><?php _e( 'Download Monitor Extensions', 'download-monitor' ); ?> <a href="<?php echo add_query_arg( 'dlm-force-recheck', '1', admin_url( 'edit.php?post_type=dlm_download&page=dlm-extensions' ) ); ?>" class="button dlm-reload-button">Reload Extensions</a></h2>
46
  <?php
47
 
48
  if ( false !== $extension_json ) {
includes/admin/class-dlm-admin.php CHANGED
@@ -482,9 +482,9 @@ class DLM_Admin {
482
  <div id="icon-edit" class="icon32 icon32-posts-dlm_download"><br/></div>
483
 
484
  <h2><?php _e( 'Download Logs', 'download-monitor' ); ?> <a
485
- href="<?php echo add_query_arg( 'dlm_download_logs', 'true' ); ?>"
486
  class="add-new-h2"><?php _e( 'Export CSV', 'download-monitor' ); ?></a> <a
487
- href="<?php echo wp_nonce_url( add_query_arg( 'dlm_delete_logs', 'true' ), 'delete_logs' ); ?>"
488
  class="add-new-h2"><?php _e( 'Delete Logs', 'download-monitor' ); ?></a></h2><br/>
489
 
490
  <form id="dlm_logs">
482
  <div id="icon-edit" class="icon32 icon32-posts-dlm_download"><br/></div>
483
 
484
  <h2><?php _e( 'Download Logs', 'download-monitor' ); ?> <a
485
+ href="<?php echo add_query_arg( 'dlm_download_logs', 'true', admin_url( 'edit.php?post_type=dlm_download&page=download-monitor-logs' ) ); ?>"
486
  class="add-new-h2"><?php _e( 'Export CSV', 'download-monitor' ); ?></a> <a
487
+ href="<?php echo wp_nonce_url( add_query_arg( 'dlm_delete_logs', 'true', admin_url( 'edit.php?post_type=dlm_download&page=download-monitor-logs' ) ), 'delete_logs' ); ?>"
488
  class="add-new-h2"><?php _e( 'Delete Logs', 'download-monitor' ); ?></a></h2><br/>
489
 
490
  <form id="dlm_logs">
includes/class-dlm-template-handler.php CHANGED
@@ -14,6 +14,7 @@ class DLM_Template_Handler {
14
  * @param string $slug
15
  * @param string $name (default: '')
16
  * @param string $custom_dir
 
17
  *
18
  * @return void
19
  */
14
  * @param string $slug
15
  * @param string $name (default: '')
16
  * @param string $custom_dir
17
+ * @param array $args
18
  *
19
  * @return void
20
  */
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=barry@ca
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.1.1
7
- Stable tag: 1.7.0
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.0: March 22, 2015 =
111
  * Feature - Added 'Download Information' meta box to edit download screen that displays useful download information.
112
  * Feature - Error message shown when visitor has no access to download is now an 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.1.1
7
+ Stable tag: 1.7.1
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.1: April 17, 2015 =
111
+ * Pass third arg to add_query_arg to prevent XSS.
112
+
113
  = 1.7.0: March 22, 2015 =
114
  * Feature - Added 'Download Information' meta box to edit download screen that displays useful download information.
115
  * Feature - Error message shown when visitor has no access to download is now an option.