Plugin Directory

Changeset 3373291


Ignore:
Timestamp:
10/05/2025 10:34:01 PM (5 months ago)
Author:
ip2location
Message:

Added Perplexity bot in crawler list.

Location:
ip2location-country-blocker/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ip2location-country-blocker/trunk/ip2location-country-blocker.php

    r3366875 r3373291  
    55 * Plugin URI: https://ip2location.com/resources/wordpress-ip2location-country-blocker
    66 * Description: Block visitors from accessing your website or admin area by their country.
    7  * Version: 2.40.0
     7 * Version: 2.41.0
    88 * Requires PHP: 7.4
    99 * Author: IP2Location
     
    8888        'msnbot'                      => 'MSN',
    8989        'mj12bot'                     => 'Majestic',
     90        'perplexity'                  => 'Perplexity',
    9091        'pinterest'                   => 'Pinterest',
    9192        'semrushbot'                  => 'SemrushBot',
     
    32723273    private function is_bot($interface = 'frontend')
    32733274    {
    3274         $is_bot = preg_match('/baidu|bingbot|googlebot|-google|ia_archiver|msnbot|naverbot|pingdom|seznambot|slurp|teoma|twitter|yandex|yeti|feedburner/i', $this->user_agent());
     3275        $is_bot = preg_match('/baidu|bingbot|googlebot|-google|ia_archiver|msnbot|naverbot|perplexity|pingdom|seznambot|slurp|teoma|twitter|yandex|yeti|feedburner/i', $this->user_agent());
    32753276
    32763277        $list = $this->get_option('' . (($interface == 'frontend') ? 'frontend' : 'backend') . '_bots_list');
  • ip2location-country-blocker/trunk/readme.txt

    r3366875 r3373291  
    66Requires at least: 4.6
    77Tested up to: 6.8
    8 Stable tag: 2.40.0
     8Stable tag: 2.41.0
    99
    1010Blocks unwanted visitors from accessing your frontend (blog pages) or backend (admin area) by countries or proxy servers.
     
    9292
    9393== Changelog ==
     94* 2.41.0 Added Perplexity bot in crawler list.
    9495* 2.40.0 Added ability to flush cached data.
    9596* 2.39.5 Fixed issue saving backend error page.
Note: See TracChangeset for help on using the changeset viewer.