updated plugin Jetpack Protect
version 2.2.0
This commit is contained in:
@ -5,6 +5,10 @@ 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).
|
||||
|
||||
## [0.2.3] - 2024-05-24
|
||||
### Fixed
|
||||
- Backup: Change error messages to not trigger security scanners. [#36496]
|
||||
|
||||
## [0.2.2] - 2024-03-19
|
||||
### Fixed
|
||||
- Handle upgrades from plugins embedding version 0.2.0 of the package. [#36440]
|
||||
@ -59,6 +63,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Changed
|
||||
- Updated package dependencies.
|
||||
|
||||
[0.2.3]: https://github.com/Automattic/jetpack-transport-helper/compare/v0.2.2...v0.2.3
|
||||
[0.2.2]: https://github.com/Automattic/jetpack-transport-helper/compare/v0.2.1...v0.2.2
|
||||
[0.2.1]: https://github.com/Automattic/jetpack-transport-helper/compare/v0.2.0...v0.2.1
|
||||
[0.2.0]: https://github.com/Automattic/jetpack-transport-helper/compare/v0.1.6...v0.2.0
|
||||
|
@ -23,10 +23,10 @@ if ( function_exists( 'add_filter' ) ) {
|
||||
}
|
||||
|
||||
// Clean up expired Jetpack Helper Scripts from a scheduled event.
|
||||
$add_action( 'jetpack_cleanup_helper_scripts', array( 'Automattic\\Jetpack\\Backup\\V0003\\Helper_Script_Manager', 'cleanup_expired_helper_scripts' ) );
|
||||
$add_action( 'jetpack_cleanup_helper_scripts', array( 'Automattic\\Jetpack\\Backup\\V0004\\Helper_Script_Manager', 'cleanup_expired_helper_scripts' ) );
|
||||
|
||||
// Register REST routes.
|
||||
$add_action( 'rest_api_init', array( 'Automattic\\Jetpack\\Transport_Helper\\V0003\\REST_Controller', 'register_rest_routes' ) );
|
||||
$add_action( 'rest_api_init', array( 'Automattic\\Jetpack\\Transport_Helper\\V0004\\REST_Controller', 'register_rest_routes' ) );
|
||||
|
||||
// Set up package version hook.
|
||||
$add_filter( 'jetpack_package_versions', 'Automattic\\Jetpack\\Transport_Helper\\Package_Version::send_package_version_to_tracker' );
|
||||
|
@ -5,12 +5,12 @@
|
||||
"license": "GPL-2.0-or-later",
|
||||
"require": {
|
||||
"php": ">=7.0",
|
||||
"automattic/jetpack-backup-helper-script-manager": "^0.2.3",
|
||||
"automattic/jetpack-connection": "^2.4.1"
|
||||
"automattic/jetpack-backup-helper-script-manager": "^0.2.6",
|
||||
"automattic/jetpack-connection": "^2.8.4"
|
||||
},
|
||||
"require-dev": {
|
||||
"yoast/phpunit-polyfills": "1.1.0",
|
||||
"automattic/jetpack-changelogger": "^4.1.1",
|
||||
"automattic/jetpack-changelogger": "^4.2.4",
|
||||
"automattic/wordbless": "dev-master"
|
||||
},
|
||||
"suggest": {
|
||||
|
@ -16,7 +16,7 @@ namespace Automattic\Jetpack\Transport_Helper;
|
||||
*/
|
||||
class Package_Version {
|
||||
|
||||
const PACKAGE_VERSION = '0.2.2';
|
||||
const PACKAGE_VERSION = '0.2.3';
|
||||
|
||||
const PACKAGE_SLUG = 'transport-helper';
|
||||
|
||||
|
@ -10,9 +10,9 @@
|
||||
// order to ensure that the specific version of this file always get loaded. Otherwise, Jetpack autoloader might decide
|
||||
// to load an older/newer version of the class (if, for example, both the standalone and bundled versions of the plugin
|
||||
// are installed, or in some other cases).
|
||||
namespace Automattic\Jetpack\Transport_Helper\V0003;
|
||||
namespace Automattic\Jetpack\Transport_Helper\V0004;
|
||||
|
||||
use Automattic\Jetpack\Backup\V0003\Helper_Script_Manager;
|
||||
use Automattic\Jetpack\Backup\V0004\Helper_Script_Manager;
|
||||
use Automattic\Jetpack\Connection\Rest_Authentication;
|
||||
use WP_Error;
|
||||
use WP_REST_Request;
|
||||
|
Reference in New Issue
Block a user