Plugin Directory


Ignore:
Timestamp:
11/11/2026 05:46:47 AM (14 hours ago)
Author:
ritesh.soni36
Message:

Updating and Tagging version 6.83

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wpremote/trunk/protect/request.php

    r3775063 r3795707  
    33if (!defined('ABSPATH') && !defined('MCDATAPATH')) exit;
    44
    5 if (!class_exists('WPRProtectRequest_V681')) :
    6 class WPRProtectRequest_V681 {
     5if (!class_exists('WPRProtectRequest_V683')) :
     6class WPRProtectRequest_V683 {
    77        public $ip;
    88        public $host = '';
    … …  
    2020        public $files;
    2121        public $respcode;
    22         public $status = WPRProtectRequest_V681::STATUS_ALLOWED;
    23         public $category = WPRProtectRequest_V681::CATEGORY_NORMAL;
     22        public $status = WPRProtectRequest_V683::STATUS_ALLOWED;
     23        public $category = WPRProtectRequest_V683::CATEGORY_NORMAL;
    2424
    2525        public $wp_user;
    … …  
    6060
    6161        public function __construct($ip_header, $config) {
    62                 $this->ip = WPRProtectUtils_V681::getIP($ip_header);
     62                $this->ip = WPRProtectUtils_V683::getIP($ip_header);
    6363                $this->timestamp = time();
    6464                $this->get_params = $_GET; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
    … …  
    142142        public static function blacklistedCategories() {
    143143                return array(
    144                         WPRProtectRequest_V681::CATEGORY_BOT_BLOCKED,
    145                         WPRProtectRequest_V681::CATEGORY_COUNTRY_BLOCKED,
    146                         WPRProtectRequest_V681::CATEGORY_USER_BLACKLISTED,
    147                         WPRProtectRequest_V681::CATEGORY_GLOBAL_BOT_BLOCKED
     144                        WPRProtectRequest_V683::CATEGORY_BOT_BLOCKED,
     145                        WPRProtectRequest_V683::CATEGORY_COUNTRY_BLOCKED,
     146                        WPRProtectRequest_V683::CATEGORY_USER_BLACKLISTED,
     147                        WPRProtectRequest_V683::CATEGORY_GLOBAL_BOT_BLOCKED
    148148                );
    149149        }
    150150
    151151        public static function whitelistedCategories() {
    152                 return array(WPRProtectRequest_V681::CATEGORY_WHITELISTED);
     152                return array(WPRProtectRequest_V683::CATEGORY_WHITELISTED);
    153153        }
    154154
    … …  
    488488                }
    489489
    490                 $_json_params = WPRProtectUtils_V681::safeDecodeJSON(
     490                $_json_params = WPRProtectUtils_V683::safeDecodeJSON(
    491491                        $this->raw_body,
    492492                        true,
Note: See TracChangeset for help on using the changeset viewer.