Changeset 3281107
- Timestamp:
- 04/24/2025 03:11:57 PM (11 months ago)
- Location:
- honeypot-toolkit
- Files:
-
- 24 added
- 3 edited
-
tags/5.0.2 (added)
-
tags/5.0.2/css (added)
-
tags/5.0.2/css/admin.css (added)
-
tags/5.0.2/honeypot-toolkit.php (added)
-
tags/5.0.2/img (added)
-
tags/5.0.2/img/honeypot-icon.png (added)
-
tags/5.0.2/lib (added)
-
tags/5.0.2/lib/HT_Ajax.class.php (added)
-
tags/5.0.2/lib/HT_Template.class.php (added)
-
tags/5.0.2/lib/HoneypotToolkit.class.php (added)
-
tags/5.0.2/readme.txt (added)
-
tags/5.0.2/tpl (added)
-
tags/5.0.2/tpl/activityList.php (added)
-
tags/5.0.2/tpl/activity_list_page_js.php (added)
-
tags/5.0.2/tpl/allowlist.php (added)
-
tags/5.0.2/tpl/allowlist_page_js.php (added)
-
tags/5.0.2/tpl/blocklist.php (added)
-
tags/5.0.2/tpl/blocklist_page_js.php (added)
-
tags/5.0.2/tpl/common_js.php (added)
-
tags/5.0.2/tpl/settings.php (added)
-
tags/5.0.2/tpl/settings_page_js.php (added)
-
tags/5.0.2/tpl/single_settings.php (added)
-
tags/5.0.2/tpl/single_settings_page_js.php (added)
-
tags/5.0.2/uninstall.php (added)
-
trunk/honeypot-toolkit.php (modified) (1 diff)
-
trunk/lib/HoneypotToolkit.class.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
honeypot-toolkit/trunk/honeypot-toolkit.php
r3280722 r3281107 3 3 Plugin Name: Honeypot Toolkit 4 4 Plugin URI: https://www.sterup.com/wordpress-plugins/honeypot-toolkit/ 5 Description: Automates the placement of honeypot links for Project Honeypot. Also blocks IP Addresses who have a bad rating on Project Honeypot and Spamcop. Monitors bad logins and 404 errors.6 Version: 5.0. 15 Description: Automates the placement of honeypot links for Project Honeypot. Also blocks IP Addresses who have a bad rating on Project Honeypot, Spamcop, and the SANS Internet Storm Center API. Monitors bad logins and 404 errors. 6 Version: 5.0.2 7 7 Author: Jeff Sterup 8 8 Author URI: https://www.sterup.com -
honeypot-toolkit/trunk/lib/HoneypotToolkit.class.php
r3280722 r3281107 693 693 foreach($networkSites as $site) { 694 694 switch_to_blog($site->blog_id); 695 if ($wpdb->prefix != $wpdb->base_prefix ) {695 if ($wpdb->prefix != $wpdb->base_prefix && $wpdb->get_var("SHOW TABLES LIKE '".$wpdb->prefix."ht_ip_list'") == $wpdb->prefix."ht_ip_list") { 696 696 $blocklistEntries = $wpdb->get_results("SELECT ip_id, ip_address_start, ip_address_end, ip_number_start, ip_number_end, offense_level, notes FROM ".$wpdb->prefix."ht_ip_list WHERE offense_level > 3", ARRAY_A); 697 697 … … 772 772 } 773 773 } 774 $wpdb->query("DROP TABLE IF EXISTS `".$wpdb->prefix."ht_ip_list");775 $wpdb->query("DROP TABLE IF EXISTS `".$wpdb->prefix."ht_activity");774 $wpdb->query("DROP TABLE IF EXISTS ".$wpdb->prefix."ht_ip_list"); 775 $wpdb->query("DROP TABLE IF EXISTS ".$wpdb->prefix."ht_activity"); 776 776 777 777 delete_option("ht_restrict_to_allowlist"); … … 876 876 } 877 877 878 update_site_option('ht_plugin_version', "5.0. 1");878 update_site_option('ht_plugin_version', "5.0.2"); 879 879 } 880 880 881 881 function check_version() { 882 if (get_site_option('ht_plugin_version') != "5.0. 1") {882 if (get_site_option('ht_plugin_version') != "5.0.2") { 883 883 $this->activate(); 884 884 } -
honeypot-toolkit/trunk/readme.txt
r3280722 r3281107 5 5 Requires at least: 4.6.0 6 6 Tested up to: 6.8 7 Stable tag: 5.0. 17 Stable tag: 5.0.2 8 8 License: GPLv2 9 9 … … 38 38 39 39 == Changelog == 40 41 = 5.0.2 = 42 Fixing database error on activation for multisite installs. 40 43 41 44 = 5.0.1 = … … 198 201 == Upgrade Notice == 199 202 200 = 5.0.1 = 201 Added option to automatically retrieve the IP ranges for Googlebot and Bingbot from their developer sites and add them to the allowlist. 202 Added text length restriction to IP note textareas. 203 = 5.0.2 = 204 Fixing database error on activation for multisite installs.
Note: See TracChangeset
for help on using the changeset viewer.