Skip to content

Commit

Permalink
Merge pull request #5139 from Automattic/staging
Browse files Browse the repository at this point in the history
Production release v20240109.0
  • Loading branch information
WPprodigy authored Jan 9, 2024
2 parents cc7b432 + 74d7a58 commit c40e147
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion jetpack
Submodule jetpack updated 694 files
9 changes: 6 additions & 3 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.8
* Version: 12.9
* Author URI: https://jetpack.com
* License: GPL2+
* Text Domain: jetpack
Expand All @@ -32,9 +32,12 @@ function vip_default_jetpack_version() {
} elseif ( version_compare( $wp_version, '6.2', '<' ) ) {
// WordPress 6.1.x
return '12.5';
} else {
// WordPress 6.2 and newer.
} elseif ( version_compare( $wp_version, '6.3', '<' ) ) {
// WordPress 6.2.x.
return '12.8';
} else {
// WordPress 6.3 and newer.
return '12.9';
}
}

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

$latest = '12.8';
$latest = '12.9';

$versions_map = [
// WordPress version => Jetpack version
Expand All @@ -16,7 +16,7 @@ public function test__vip_default_jetpack_version() {
'5.9.5' => '11.4',
'6.0' => '12.0',
'6.1' => '12.5',
'6.2' => $latest,
'6.2' => '12.8',
'6.3' => $latest,
'6.3.1' => $latest,
];
Expand Down

0 comments on commit c40e147

Please sign in to comment.