Changelog for Blackhole for Bad Bots https://wordpress.org/plugins/blackhole-bad-bots/ > __Tip:__ Use a free markdown tool like https://dillinger.io/ to convert the changelog to a more readable format. > __Tip:__ Check announcement posts for details about pro updates and related news: https://plugin-planet.com/news/ **3.7 (2024/03/06)** * Updates/synchronizes plugin settings page * Updates default translation template * Improves plugin docs/readme.txt * Tests on WordPress 6.5 (beta) **3.6.1 (2023/10/27)** * Adds filter hook `blackhole_whois_port` * Adds filter hook `blackhole_whois_server` * Changes display of IP addresses in settings * Updates default translation template * Updates custom banner notice * Tests on WordPress 6.4 (beta) **3.6 (2023/07/21)** * Improves localization function * Improves plugin action links function * Improves `blackhole_abort()` function * Replaces `DOING_CRON` with `wp_doing_cron()` * Updates default translation template * Adds custom notice on settings page * Improves plugin documentation * Tests on WordPress 6.3 (beta) **3.5 (2023/04/25)** * Improves plugin documentaion * Improves plugin settings page infos * Removes filter hook `blackhole_ip_keys` * Generates new translation template * Tests on WordPress 6.2 **3.4.1 (2023/03/11)** * Adds fallback for `current_datetime()` * Tests on WordPress 6.2 (beta) **3.4 (2023/03/06)** * Improves content of email alerts * Adds support for multiple email addresses * Adds filter hook `blackhole_email_address` * Improves logic for logging dates and times * Improves logic when calling `get_current_screen()` * Removes `require_once` from `blackhole_send_email()` * Fixes incorrect function name, `blackhole_default_message` * Adds screenshots of pro features on bad bots screen * Adds `code` class to "Message Custom" textarea * Adds note about `$ip_keys` filter hook * Updates Help tab inline documentation * Generates new translation template * Tests on WordPress 6.1 + 6.2 (beta) * Tests on PHP 8.1 and 8.2 **3.3.5 (2022/10/24)** * Adds action hook `blackhole_reset_options` * Adds action hook `blackhole_reset_badbots` * Adds action hook `blackhole_delete_bot` * Adds action hook `blackhole_log_bot` * Improves sanitization of email settings * Adds "Show Support" link to plugin settings * Adds custom footer text to plugin settings * Refreshes pro blurb on settings page * Improves contextual help information * Improves plugin settings UI/styles * Improves plugin documentation * Updates translation template * Tests on WordPress 6.1 **3.3.4 (2022/09/16)** * Fixes bug with WP Photo Album Plus ([Thanks](https://wordpress.org/support/topic/fatal-error-4243/) [@opajaap](http://www.opajaap.nl/)) * Tests on WordPress 6.1 (alpha) **3.3.3 (2022/05/17)** * Changes dashboard icon to shield * Adds filter hook `blackhole_dash_icon` * Tests on WordPress 6.0 **3.3.2 (2022/01/26)** * Changes `REMOTE_ADDR` now checked before other IP headers * Tests on WordPress 5.9 **3.3.1 (2022/01/25)** * Fixes issue with `CF-CONNECTING-IP` (Thanks Daniel Ruf @ [WPScan](https://wpscan.com/)) * Tests on WordPress 5.9 **3.3 (2022/01/22)** * Improves loading of translations * Improves performance of plugin settings * Updates some links to external resources * Improves output of Blackhole trigger link * Changes minimum required WP version to 4.6 * Updates default translation template * Tests on WordPress 5.9 **3.2 (2021/07/19)** * Adds `chrome` agent to whitelist * Adds `google page speed` agent to whitelist * Increases priority for adding robots rules * Improves plugin readme/documentation * Tests on WordPress 5.8 **3.1 (2021/02/11)** * Improves performance of IP functionality * Improves output of Blackhole trigger link * Updates default translation template * Tests on WordPress 5.7 **3.0 (2020/11/15)** * Fixes bug with error log entries * Updates plugin script to account for changes in jQuery UI * Adds support for custom warning template in `/wp-content/` * Adds filter hook `blackhole_template_filename` * Adds filter hook `blackhole_custom_dir` * Updates default translation template * Updates and refines readme.txt * Tests on PHP 7.4 and 8.0 * Tests on WordPress 5.6 **2.9.1 (2020/08/19)** * Updates contextual Help tab information * Updates default translation template * Refines the plugin setting page * Refines readme/documentation * Tests on WordPress 5.5 **2.9 (2020/08/09)** * Updates the Blackhole robots.txt rules (see above note) * Adds rules dynamically to WP robots.txt (Thanks @blackcapdesign) * Adds filter hooks `blackhole_robots_rules` and `blackhole_domain` * Adds Blackhole trigger to Login Page (Thanks @wp-henne) * Adds `wp rocket` to the default user-agent whitelist * Removes `wprocketbot` from default user-agent whitelist * Removes Securi and WP Rocket from default IP whitelist * Appends version number to CSS and JS on settings page * Bugfix: escapes special characters in whitelist setting * Bugfix: now loads JavaScript vars only on settings page * Updates contextual Help tab information * Updates default translation template * Refines the plugin setting page * Refines readme/documentation * Tests on WordPress 5.5 **2.8 (2020/03/19)** * Improves markup/meta of blackhole warning page * Adds note about cache plugins on settings page * Fixes PHP warning with `gethostbyaddr()` * Updates contextual help tab information * Generates new default translation template * Tests on WordPress 5.4 **2.7 (2019/11/09)** * Adds Host Name to email alerts and warning page * Adds filter `hook blackhole_enable_host_check` * Adds `!defined('ABSPATH')` to new core files * Adds "uptimerobot" to default whitelist * Updates styles for plugin settings page * Tests on WordPress 5.3 **2.6 (2019/08/21)** * Optimizes plugin performance * Optimizes internal code structure * Removes all transients functionality * Adds code to remove transients on uninstall * Adds filter for error log output * Improves error log handling * Updates some links to https * Generates new default translation template * Tests on WordPress 5.3 (alpha) **2.5 (2019/05/01)** * Bumps [minimum PHP version](https://codex.wordpress.org/Template:Server_requirements) to 5.6.20 * Updates default translation template * Tests on WordPress 5.2 **2.4 (2019/04/10)** * Adds caching for get_vars data * Adds `a6-indexer` and `ahrefsbot` to default user-agent whitelist * Tests on WordPress 5.1 and 5.2 (alpha) **2.3 (2019/03/11)** * Adds domain name to email alerts * Improves function `action_links()` * Refines plugin settings screen UI * Updates URL for constant `BBB_HOME` * Generates new default translation template * Tests on WordPress 5.1 and 5.2 (alpha) **2.2 (2019/02/20)** * Tests on WordPress 5.1 **2.1 (2018/11/16)** * Adds link to robots.txt from settings page * Adds homepage link to Plugins screen * Updates default translation template * Tests on WordPress 5.0 **2.0 (2018/08/21)** * Adds intro blurb to email alerts * Adds `rel="noopener noreferrer"` to all [blank-target links](https://perishablepress.com/wordpress-blank-target-vulnerability/) * Updates GDPR blurb and donate link * Regenerates default translation template * Further tests on WP 4.9 and 5.0 (alpha) **1.9.2 (2018/05/11)** * Adds support for WP Fastest Cache * Improves support for caching plugins * Updates default set of whitelisted user agents * Updates default set of whitelisted IP addresses * Adds filter hook, `blackhole_verify_nonce` * Adds function to enable `display` in textarea settings * Changes example IP address to `173.203.204.123` * Fixes obscure `call_user_func` error * Generates new translation template * Tests on WordPress 5.0 (alpha) **1.8 (2017/10/19)** * Adds to default whitelisted user agents: `apis-google`, `facebot`, `facebookexternalhit`, `pinterest`, `twitter`, `wordpress` * Updates readme/documentation * Tests on WordPress 4.9 **1.7.1 (2017/08/13)** * Replaces `wp_doing_cron()` with direct check for `DOING_CRON` * Tests on WordPress 4.9 (alpha) **1.7 (2017/07/29)** * Adds support for CIDR notation for whitelisted IPs * Adds function to ignore command-line requests * Adds logic to ignore WP-Cron requests * Updates contextual help (Help tab) * Tests on WordPress 4.9 (alpha) **1.6 (2017/04/09)** * Updates default IP keys * Adds some missing translation strings * Auto-adds server IP to whitelist settings * Adds French translation (thanks to Bouzin) * Adds filter for IP keys, `blackhole_ip_keys` * Adds meta noindex, nofollow to blackhole page * Replaces global `$wp_version` with `get_bloginfo('version')` * Enhances default character set for whois lookup * Regenerates default translation template * Tests on WordPress version 4.8 **1.5 (2017/03/08)** * Fixes some incorrect translation strings * Adds some style to the Robots Rules setting * Adds complete contextual help (via the Help tab) * Adds info about the default bot to the Bad Bots screen * Replaces delete link with blackhole icon for default bot * Removes line breaks from plugin-activation warning messages * Replaces `admin_url()` with `admin_url('plugins.php')` for activation warning * Replaces `get_template_directory` with `get_stylesheet_directory` * Updates plugin links on the WP Plugins screen * Adds default option for `ip_whitelist` setting * Adds option to set the address for the "From" email header * Improves loading of PHP include files * Changes link text for clearing list of bad bots * Adds new action hook: `blackhole_settings_contextual_help` * Adds new action hook: `blackhole_badbots_contextual_help` * Refines the Settings and Bad Bots screens * Improves logic for script/style enqueue * Adds blurb about Pro version * Generates new translation template * Tests on WordPress version 4.8 (alpha) **1.4 (2016/11/14)** Important: if you are upgrading from a previous version and are using a Custom Warning Template, please move it to your theme directory. Otherwise it will be deleted when you upgrade the plugin. Check out the "Custom Warning Template" section under the [Installation documentation](https://wordpress.org/plugins/blackhole-bad-bots/installation/) for more information. * Fixes missing settings notices via settings_errors * Adds strong tags to admin notices * Changes directory for custom warning template * Removes the `/custom/` directory * Removes Save Changes button from Bad Bot screen * Updates some default settings page styles * Changes stable tag from trunk to latest version * Adds `»` to rate plugin link on Plugins screen * Improves escaping for localization tags * Updates URl for rate this plugin link * Tests on WordPress version 4.7 (beta) **1.3.1 (2016/08/11)** * Fixes bug with IP-address whitelisting * Fixes bug with user-agent whitelisting * Makes a small change to settings label * Generates new translation template **1.3 (2016/08/08)** * Updates [WP Admin Notices](https://digwp.com/2016/05/wordpress-admin-notices/) * Replaces `_e()` with `esc_html_e()` * Replaces `__()` with `esc_html__()` * Removes unnecessary `settings_errors()` * Renames text domain from "bbb" to "blackhole-bad-bots" * Renames `/lang/` directory to `/languages/` * Updates `load_i18n()` * Refines `blackhole_callback_robots()` * Fixes bug in `blackhole_whois()` * Improves performance by eliminating redundant whois lookup * Adds new hook to filter IP address validation: `blackhole_ip_filter` * Improves IP address handling (adds three new IP-related functions) * Improves readability of whois email notifications * Adds "Whitelisted IPs" setting * Adds a rate this plugin link * Tests on WordPress 4.6 **1.2 (2016/03/28)** * Updates URL for BBB_HOME * Tweaks display of "Blocked Bots" in plugin settings * Tests on WordPress 4.5 beta **1.1 (2016/02/22)** * Adds "baidu" to the search engine whitelist * Adds credit to documentation for header image **1.0 (2016/02/22)** * Initial release