Skip to content

Commit

Permalink
Set globally loaded version of Jetpack to 12.5 and update submodule (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
luiztiago authored Sep 5, 2023
1 parent 9c999f8 commit e555023
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion jetpack
Submodule jetpack updated 382 files
4 changes: 2 additions & 2 deletions jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Plugin URI: https://jetpack.com
* Description: Security, performance, and marketing tools made by WordPress experts. Jetpack keeps your site protected so you can focus on more important things.
* Author: Automattic
* Version: 12.4
* Version: 12.5
* Author URI: https://jetpack.com
* License: GPL2+
* Text Domain: jetpack
Expand All @@ -31,7 +31,7 @@ function vip_default_jetpack_version() {
return '12.0';
} else {
// WordPress 6.1 and newer.
return '12.4';
return '12.5';
}
}

Expand Down
6 changes: 4 additions & 2 deletions tests/test-jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@ public function test__vip_default_jetpack_version() {
global $wp_version;
$saved_wp_version = $wp_version;

$latest = '12.4';
$latest = '12.5';

$versions_map = [
// WordPress version => Jetpack version
'5.8.6' => '10.9',
'5.9' => '11.4',
'5.9.5' => '11.4',
'6.0' => '12.0',
'6.1' => $latest,
'6.2' => $latest,
'6.2.1' => $latest,
'6.3' => $latest,
'6.3.1' => $latest,
];

foreach ( $versions_map as $wordpress_version => $jetpack_version ) {
Expand Down

0 comments on commit e555023

Please sign in to comment.