Download Monitor - Version 4.4.1

Version Description

Download this release

Release Info

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

Code changes from version 4.4.0 to 4.4.1

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 and selling downloadable files, monitoring downloads and outputting download links and file information on your WordPress powered site.
6
- Version: 4.4.0
7
  Author: Never5
8
  Author URI: https://www.never5.com
9
  Requires at least: 3.8
10
- Tested up to: 5.1.0
11
  Text Domain: download-monitor
12
 
13
  License: GPL v3
@@ -33,7 +33,7 @@ if ( ! defined( 'ABSPATH' ) ) {
33
  } // Exit if accessed directly
34
 
35
  // Define DLM Version
36
- define( 'DLM_VERSION', '4.4.0' );
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.1
7
  Author: Never5
8
  Author URI: https://www.never5.com
9
  Requires at least: 3.8
10
+ Tested up to: 5.1.1
11
  Text Domain: download-monitor
12
 
13
  License: GPL v3
33
  } // Exit if accessed directly
34
 
35
  // Define DLM Version
36
+ define( 'DLM_VERSION', '4.4.1' );
37
 
38
  // Define DLM FILE
39
  define( 'DLM_PLUGIN_FILE', __FILE__ );
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: never5, barrykooij, hchouhan, mikejolley
3
  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, sell, shop, ecommerce, paypal
5
  Requires at least: 3.8
6
- Tested up to: 5.1.0
7
- Stable tag: 4.4.0
8
  License: GPLv3
9
  Text Domain: -
10
  Requires PHP: 5.3
@@ -118,6 +118,9 @@ More documentation can be found in our [Knowledge Base](https://www.download-mon
118
 
119
  == Changelog ==
120
 
 
 
 
121
  = 4.4.0: March 8, 2019 =
122
  * Feature: Added a new product post type to create a clear separation between downloads and the products you can sell. Read more about this here: https://www.download-monitor.com/kb/products/
123
  * Feature: Shop products now have a basic detail (single) page. This will be improved in future updates.
3
  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, sell, shop, ecommerce, paypal
5
  Requires at least: 3.8
6
+ Tested up to: 5.1.1
7
+ Stable tag: 4.4.1
8
  License: GPLv3
9
  Text Domain: -
10
  Requires PHP: 5.3
118
 
119
  == Changelog ==
120
 
121
+ = 4.4.1: March 27, 2019 =
122
+ * Tweak: Added proper html escaping to order overview page, props Nam.Dinh.
123
+
124
  = 4.4.0: March 8, 2019 =
125
  * Feature: Added a new product post type to create a clear separation between downloads and the products you can sell. Read more about this here: https://www.download-monitor.com/kb/products/
126
  * Feature: Shop products now have a basic detail (single) page. This will be improved in future updates.
src/Shop/Admin/OrderTable.php CHANGED
@@ -123,10 +123,10 @@ class OrderTable extends \WP_List_Table {
123
  $customer_name .= " " . $order->get_customer()->get_last_name();
124
  }
125
 
126
- return '<a href="' . add_query_arg( 'details', $order->get_id(), $this->get_base_url() ) . '">#' . $order->get_id() . ' ' . $customer_name . '</a>';
127
  break;
128
  case 'status' :
129
- return '<span class="dlm-order-status dlm-order-status-' . $order->get_status()->get_key() . '" title="' . $order->get_status()->get_label() . '">' . $order->get_status()->get_label() . '</span>';
130
  break;
131
  case 'date' :
132
  $time_str = date_i18n( get_option( 'date_format' ), $order->get_date_created()->format( 'U' ) );
123
  $customer_name .= " " . $order->get_customer()->get_last_name();
124
  }
125
 
126
+ return '<a href="' . add_query_arg( 'details', $order->get_id(), $this->get_base_url() ) . '">#' . esc_html( $order->get_id() . ' ' . $customer_name ) . '</a>';
127
  break;
128
  case 'status' :
129
+ return '<span class="dlm-order-status dlm-order-status-' . $order->get_status()->get_key() . '" title="' . $order->get_status()->get_label() . '">' . esc_html( $order->get_status()->get_label() ) . '</span>';
130
  break;
131
  case 'date' :
132
  $time_str = date_i18n( get_option( 'date_format' ), $order->get_date_created()->format( 'U' ) );