Version Description
Download this release
Release Info
Developer | redwallhp |
Plugin | WP125 |
Version | 1.4.7 |
Comparing to | |
See all releases |
Code changes from version 1.4.6 to 1.4.7
- readme.txt +3 -2
- uninstall.php +28 -0
- wp125.php +1 -1
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Donate link: http://www.webmaster-source.com/donate/?plugin=wp125
|
|
6 |
Tags: ads, 125x125, management, advertisement
|
7 |
Requires at least: 2.8
|
8 |
Tested up to: 3.4.2
|
9 |
-
Stable tag: 1.4.
|
10 |
|
11 |
Easy management of 125x125 ads on your blog. Ads can be run for a specified number of days, and will automatically be taken down. Track clicks too.
|
12 |
|
@@ -124,4 +124,5 @@ If you're having a problem with the plugin, try posting on the official WordPres
|
|
124 |
* 1.4.3 - Added Romanian translation.
|
125 |
* 1.4.4 - Fixed a race condition that could cause many duplicate expiration emails to be sent on high-traffic sites.
|
126 |
* 1.4.5 - Added uploader, plus fixed some potential vulnerabilities. (Thanks to Charlie Eriksen via Secunia SVCRP.)
|
127 |
-
* 1.4.6 - Fix for duplicate ad expiration emails, part II: The Bug Strikes Back.
|
|
6 |
Tags: ads, 125x125, management, advertisement
|
7 |
Requires at least: 2.8
|
8 |
Tested up to: 3.4.2
|
9 |
+
Stable tag: 1.4.7
|
10 |
|
11 |
Easy management of 125x125 ads on your blog. Ads can be run for a specified number of days, and will automatically be taken down. Track clicks too.
|
12 |
|
124 |
* 1.4.3 - Added Romanian translation.
|
125 |
* 1.4.4 - Fixed a race condition that could cause many duplicate expiration emails to be sent on high-traffic sites.
|
126 |
* 1.4.5 - Added uploader, plus fixed some potential vulnerabilities. (Thanks to Charlie Eriksen via Secunia SVCRP.)
|
127 |
+
* 1.4.6 - Fix for duplicate ad expiration emails, part II: The Bug Strikes Back.
|
128 |
+
* 1.4.7 - Added uninstaller to properly remove WP125's database tables when removing the plugin.
|
uninstall.php
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('WP_UNINSTALL_PLUGIN'))
|
4 |
+
exit();
|
5 |
+
|
6 |
+
|
7 |
+
function wp125_uninstall() {
|
8 |
+
|
9 |
+
//Remove database tables
|
10 |
+
global $wpdb;
|
11 |
+
$table = $wpdb->prefix . "wp125_ads";
|
12 |
+
$wpdb->query("DROP TABLE {$table}; ");
|
13 |
+
|
14 |
+
//Remove options
|
15 |
+
delete_option("wp125_num_slots");
|
16 |
+
delete_option("wp125_ad_order");
|
17 |
+
delete_option("wp125_buyad_url");
|
18 |
+
delete_option("wp125_disable_default_style");
|
19 |
+
delete_option("wp125_widget_title");
|
20 |
+
delete_option("wp125_dofollow");
|
21 |
+
delete_option("wp125_emailonexp");
|
22 |
+
delete_option("wp125_daysbeforeexp");
|
23 |
+
delete_option("wp125_defaultad");
|
24 |
+
delete_option("wp125_db_version");
|
25 |
+
|
26 |
+
}
|
27 |
+
|
28 |
+
wp125_uninstall();
|
wp125.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.webmaster-source.com/wp125-ad-plugin-wordpress/
|
|
5 |
Description: Easily manage 125x125 ads within your WordPress Dashboard.
|
6 |
Author: Matt Harzewski (redwall_hp)
|
7 |
Author URI: http://www.webmaster-source.com
|
8 |
-
Version: 1.4.
|
9 |
*/
|
10 |
|
11 |
|
5 |
Description: Easily manage 125x125 ads within your WordPress Dashboard.
|
6 |
Author: Matt Harzewski (redwall_hp)
|
7 |
Author URI: http://www.webmaster-source.com
|
8 |
+
Version: 1.4.7
|
9 |
*/
|
10 |
|
11 |
|