updated plugin Jetpack Protect version 2.1.0

This commit is contained in:
2024-04-19 10:49:36 +00:00
committed by Gitium
parent 620280b550
commit 7841fd5dc6
179 changed files with 6360 additions and 1476 deletions

View File

@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.1.2] - 2024-03-18
### Changed
- Internal updates.
## [2.1.1] - 2024-03-14
### Changed
- Internal updates.
## [2.1.0] - 2024-02-22
### Changed
- Update the bot list with more bots [#35798]
## [2.0.1] - 2023-11-21
### Changed
- Added a note of non-usage of PHP8+ functions yet. [#34137]
@ -177,6 +189,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Moving jetpack_is_mobile into a package
[2.1.2]: https://github.com/Automattic/jetpack-device-detection/compare/v2.1.1...v2.1.2
[2.1.1]: https://github.com/Automattic/jetpack-device-detection/compare/v2.1.0...v2.1.1
[2.1.0]: https://github.com/Automattic/jetpack-device-detection/compare/v2.0.1...v2.1.0
[2.0.1]: https://github.com/Automattic/jetpack-device-detection/compare/v2.0.0...v2.0.1
[2.0.0]: https://github.com/Automattic/jetpack-device-detection/compare/v1.5.1...v2.0.0
[1.5.1]: https://github.com/Automattic/jetpack-device-detection/compare/v1.5.0...v1.5.1

View File

@ -8,7 +8,7 @@
},
"require-dev": {
"yoast/phpunit-polyfills": "1.1.0",
"automattic/jetpack-changelogger": "^4.0.2"
"automattic/jetpack-changelogger": "^4.1.2"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
@ -35,7 +35,7 @@
"link-template": "https://github.com/Automattic/jetpack-device-detection/compare/v${old}...v${new}"
},
"branch-alias": {
"dev-trunk": "2.0.x-dev"
"dev-trunk": "2.1.x-dev"
}
}
}

View File

@ -5,6 +5,7 @@
* @package automattic/jetpack-device-detection
*
* We don't want to rename public members.
*
* @phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
* @phpcs:disable WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase
* @phpcs:disable WordPress.NamingConventions.ValidVariableName.PropertyNotSnakeCase
@ -1564,6 +1565,20 @@ class User_Agent_Info {
'cloudflare-alwaysonline',
'cookieinformationscanner', // p1699315886066389-slack-C0438NHCLSY
'facebookexternalhit', // https://www.facebook.com/externalhit_uatext.php
'feedburner',
'yacybot', // http://yacy.net/bot.html
'trendictionbot', // http://www.trendiction.de/bot;
'elisabot',
'linkfluence', // http://linkfluence.com/
'semrushbot', // https://www.semrush.com/bot/
'archive.org_bot', // http://archive.org/details/archive.org_bot
'ezlynxbot', // https://www.ezoic.com/bot
'siteauditbot', // https://www.semrush.com/bot/
'snapchat', // https://developers.snap.com/robots
'applebot', // https://support.apple.com/en-ca/HT204683
'bne.es_bot', // https://www.bne.es/es/colecciones/archivo-web-espanola/aviso-webmasters
'google-safety;', // https://www.google.com/bot.html
'mojeekbot', // https://www.mojeek.com/bot.html
);
foreach ( $bot_agents as $bot_agent ) {