WordPress Download Manager - Version 3.2.38

Version Description

  • 2022.03.08 =
  • Improved all downloads table, added support for wpdm acf add-on
Download this release

Release Info

Developer codename065
Plugin Icon 128x128 WordPress Download Manager
Version 3.2.38
Comparing to
See all releases

Code changes from version 3.2.37 to 3.2.38

download-manager.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://www.wpdownloadmanager.com/purchases/
5
  Description: Manage, Protect and Track file downloads, and sell digital products from your WordPress site. A complete digital asset management solution.
6
  Author: W3 Eden, Inc.
7
  Author URI: https://www.wpdownloadmanager.com/
8
- Version: 3.2.37
9
  Text Domain: download-manager
10
  Domain Path: /languages
11
  */
@@ -39,7 +39,7 @@ use WPDM\Widgets\WidgetController;
39
 
40
  global $WPDM;
41
 
42
- define('WPDM_VERSION','3.2.37');
43
 
44
  define('WPDM_TEXT_DOMAIN','download-manager');
45
 
5
  Description: Manage, Protect and Track file downloads, and sell digital products from your WordPress site. A complete digital asset management solution.
6
  Author: W3 Eden, Inc.
7
  Author URI: https://www.wpdownloadmanager.com/
8
+ Version: 3.2.38
9
  Text Domain: download-manager
10
  Domain Path: /languages
11
  */
39
 
40
  global $WPDM;
41
 
42
+ define('WPDM_VERSION','3.2.38');
43
 
44
  define('WPDM_TEXT_DOMAIN','download-manager');
45
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: download manager, document management, file manager, digital store, ecomme
5
  Requires at least: 5.3
6
  Tested up to: 5.9
7
  License: GPLv2 or later
8
- Stable tag: 3.2.37
9
 
10
 
11
  This File Management & Digital Store plugin will help you to control file downloads & sell digital products from your WP site.
@@ -181,6 +181,9 @@ Check download stats and get a push notification when someone downloads, install
181
 
182
  == Changelog ==
183
 
 
 
 
184
  = 3.2.37 - 2022.02.17 =
185
  * Compatibility update for wp 5.9
186
  * Improved admin options
5
  Requires at least: 5.3
6
  Tested up to: 5.9
7
  License: GPLv2 or later
8
+ Stable tag: 3.2.38
9
 
10
 
11
  This File Management & Digital Store plugin will help you to control file downloads & sell digital products from your WP site.
181
 
182
  == Changelog ==
183
 
184
+ = 3.2.38 - 2022.03.08 =
185
+ * Improved all downloads table, added support for wpdm acf add-on
186
+
187
  = 3.2.37 - 2022.02.17 =
188
  * Compatibility update for wp 5.9
189
  * Improved admin options
src/Package/views/all-packages-shortcode.php CHANGED
@@ -355,6 +355,12 @@ if(isset($params['jstable']) && $params['jstable']==1):
355
  $data['files'] = WPDM()->package->getFiles($data['ID']);
356
  echo WPDM()->package->audioPlayer($data, true, 'success');
357
  break;
 
 
 
 
 
 
358
  default:
359
  if(isset($data[$c])) {
360
  if ($cx > 0)
355
  $data['files'] = WPDM()->package->getFiles($data['ID']);
356
  echo WPDM()->package->audioPlayer($data, true, 'success');
357
  break;
358
+ case (preg_match('/^acf_(.+)/', $c) && function_exists('\WPDM\AddOn\wpdm_acf') ? true : false) :
359
+ $value = \WPDM\AddOn\wpdm_acf($data['ID'], str_replace("acf_", "", $c), true);
360
+ $value = maybe_unserialize($value);
361
+ if (is_array($value)) $value = implode(", ", $value);
362
+ echo "<span class='__dt_acf {$c}'>" . $value . "</span>";
363
+ break;
364
  default:
365
  if(isset($data[$c])) {
366
  if ($cx > 0)