Simple Download Monitor - Version 0.21

Version Description

  • A fix for the "feature" of WordPress 3.1 which requires manual deactivation and reactivation of the plugin after upgrade (see http://core.trac.wordpress.org/ticket/14915).

  • Removed the old PHP4 version. It hasn't been updated a long time anyway.

Download this release

Release Info

Developer pepak.net
Plugin Icon 128x128 Simple Download Monitor
Version 0.21
Comparing to
See all releases

Code changes from version 0.20 to 0.21

Files changed (3) hide show
  1. readme.txt +9 -2
  2. sdmon-php4.7z +0 -0
  3. simple-download-monitor.php +4 -2
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypa
4
  Tags: files, counter, count, tracking, download monitor, monitor, downloads, download
5
  Requires at least: 2.8.0
6
  Tested up to: 3.0.3
7
- Stable tag: 0.20
8
 
9
  Count the number of downloads without having to maintain a comprehensive download page.
10
 
@@ -118,6 +118,13 @@ http://www.pepak.net/wordpress/simple-download-monitor-plugin/#comment-4729
118
 
119
  == Changelog ==
120
 
 
 
 
 
 
 
 
121
  = 0.20 =
122
 
123
  * Important! You need to deactivate and reactivate the plugin after upgrade
@@ -234,7 +241,7 @@ http://www.pepak.net/wordpress/simple-download-monitor-plugin/#comment-4729
234
 
235
  = 0.10 =
236
 
237
- * Belorussian translation by FatCow ( http://www.fatcow.com )
238
 
239
  * PHP 4 version is also available (see the FAQ).
240
 
4
  Tags: files, counter, count, tracking, download monitor, monitor, downloads, download
5
  Requires at least: 2.8.0
6
  Tested up to: 3.0.3
7
+ Stable tag: 0.21
8
 
9
  Count the number of downloads without having to maintain a comprehensive download page.
10
 
118
 
119
  == Changelog ==
120
 
121
+ = 0.21 =
122
+
123
+ * A fix for the "feature" of WordPress 3.1 which requires manual deactivation
124
+ and reactivation of the plugin after upgrade (see http://core.trac.wordpress.org/ticket/14915).
125
+
126
+ * Removed the old PHP4 version. It hasn't been updated a long time anyway.
127
+
128
  = 0.20 =
129
 
130
  * Important! You need to deactivate and reactivate the plugin after upgrade
241
 
242
  = 0.10 =
243
 
244
+ * Belorussian translation by FatCow.
245
 
246
  * PHP 4 version is also available (see the FAQ).
247
 
sdmon-php4.7z DELETED
Binary file
simple-download-monitor.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Simple Download Monitor
5
  Plugin URI: http://www.pepak.net/wordpress/simple-download-monitor-plugin
6
  Description: Count the number of downloads without having to maintain a comprehensive download page.
7
- Version: 0.20
8
  Author: Pepak
9
  Author URI: http://www.pepak.net
10
  */
@@ -31,7 +31,7 @@ if (!class_exists('SimpleDownloadMonitor'))
31
  class SimpleDownloadMonitor
32
  {
33
 
34
- const VERSION = '0.20';
35
  const PREFIX = 'sdmon_';
36
  const PREG_DELIMITER = '`';
37
  const GET_PARAM = 'sdmon';
@@ -53,6 +53,8 @@ if (!class_exists('SimpleDownloadMonitor'))
53
  register_activation_hook(__FILE__, array('SimpleDownloadMonitor', 'Install'));
54
  add_action('init', array(&$this, 'ActionInit'));
55
  add_action('admin_menu', 'SimpleDownloadMonitor_BuildAdminMenu');
 
 
56
  }
57
 
58
  public static function Install()
4
  Plugin Name: Simple Download Monitor
5
  Plugin URI: http://www.pepak.net/wordpress/simple-download-monitor-plugin
6
  Description: Count the number of downloads without having to maintain a comprehensive download page.
7
+ Version: 0.21
8
  Author: Pepak
9
  Author URI: http://www.pepak.net
10
  */
31
  class SimpleDownloadMonitor
32
  {
33
 
34
+ const VERSION = '0.21';
35
  const PREFIX = 'sdmon_';
36
  const PREG_DELIMITER = '`';
37
  const GET_PARAM = 'sdmon';
53
  register_activation_hook(__FILE__, array('SimpleDownloadMonitor', 'Install'));
54
  add_action('init', array(&$this, 'ActionInit'));
55
  add_action('admin_menu', 'SimpleDownloadMonitor_BuildAdminMenu');
56
+ if (self::VERSION != get_option(self::PREFIX . 'version'))
57
+ self::Install();
58
  }
59
 
60
  public static function Install()