Plugin / Blackhole for Bad Bots

Jeff Starr



If you like Blackhole for Bad Bots, please take a moment to give a 5-star rating. It helps to keep development and support going strong. Thank you!

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 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
  • 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
  • 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 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
  • 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


The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.