Skip to content

Commit fced82d

Browse files
committed
feat: release 8.2.0
1 parent 99c8205 commit fced82d

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

app/Constant/AppConstant.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ class AppConstant
66
{
77
const APP = 'blog';
88
const APP_NAME = 'ModStartBlog';
9-
const VERSION = '8.1.0';
9+
const VERSION = '8.2.0';
1010
}

vendor/modstart/modstart/src/Core/Util/AgentUtil.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ public static function isPC()
9797
'/GPTBot/i' => 'Other',
9898
'/SeznamBot/i' => 'Other',
9999
'/DingTalkBot/i' => 'Other',
100+
'/GoogleOther/i' => 'Other',
101+
'/AdsBot\\-Google/i' => 'Other',
102+
103+
'/crawler/i' => 'Other',
104+
'/robot/i' => 'Other',
105+
'/spider/i' => 'Other',
100106

101107
'/duckduckgo\\.com/i' => 'Other',
102108
'/Dataprovider\\.com/i' => 'Other',
@@ -113,6 +119,7 @@ public static function isPC()
113119
'/node\\-fetch/i' => 'Other',
114120
'/Go\\-http\\-client/i' => 'Other',
115121
'/okhttp/i' => 'Other',
122+
'/GuzzleHttp/i' => 'Other',
116123
'/Apache\\-HttpClient/i' => 'Other',
117124

118125
'/serpstatbot/i' => 'Other',
@@ -130,10 +137,7 @@ public static function isPC()
130137
'/coccocbot\\-web/i' => 'Other',
131138
'/Wordupindexinfo/i' => 'Other',
132139
'/researchscan/i' => 'Other',
133-
134-
'/crawler/i' => 'Other',
135-
'/robot/i' => 'Other',
136-
'/spider/i' => 'Other',
140+
'/woorankreview/i' => 'Other',
137141
];
138142

139143
/**

vendor/modstart/modstart/src/Core/Util/ArrayUtil.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ public static function random($records)
201201
if (empty($records)) {
202202
return null;
203203
}
204-
if (count($records) == 1) {
205-
return $records[0];
206-
}
204+
// if (count($records) == 1) {
205+
// return $records[0];
206+
// }
207207
return $records[array_rand($records)];
208208
}
209209

0 commit comments

Comments
 (0)