PluginProbe
The WP Remote WordPress Plugin / 4.84
The WP Remote WordPress Plugin v4.84
6.72 6.69 6.65 6.62 6.48 6.47 4.87 4.97 5.05 5.09 5.16 5.22 5.24 5.25 5.38 5.41 5.42 5.45 5.47 5.53 5.56 5.65 5.68 5.72 5.73 All 53 releases
← All changes | protect/fw/request.php +0 -15 5.164.84 View file →
@@ -20,9 +20,8 @@
20 20 private $status;
21 21 private $rulesInfo;
22 22 private $reqInfo;
23 23 private $matchedRules;
24 - private $category;
25 24
26 25 #status
27 26 const ALLOWED = 1;
28 27 const BLOCKED = 2;
@@ -37,9 +36,8 @@
37 36 const USER_BLACKLISTED = 50;
38 37 const RULE_BLOCKED = 60;
39 38 const RULE_ALLOWED = 70;
40 39 const PRIVATEIP = 80;
41 - const GLOBAL_BOT_BLOCKED = 90;
42 40
43 41 public function __construct($ip) {
44 42 $fileNames = array();
45 43 $headers = array();
@@ -110,21 +108,8 @@
110 108 }
111 109
112 110 public function setCategory($category) {
113 111 $this->category = $category;
114 - }
115 -
116 - public static function blacklistedCategories() {
117 - return array(
118 - BVWPRequest::BOT_BLOCKED,
119 - BVWPRequest::COUNTRY_BLOCKED,
120 - BVWPRequest::USER_BLACKLISTED,
121 - BVWPRequest::GLOBAL_BOT_BLOCKED
122 - );
123 - }
124 -
125 - public static function whitelistedCategories() {
126 - return array(BVWPRequest::WHITELISTED);
127 112 }
128 113
129 114 public function setPostParams($postParams) {
130 115 $this->postParams = $postParams;