Skip to content

Commit d04bcd9

Browse files
committed
Set minimal compatibility to wp 6.0
1 parent f7d3b9a commit d04bcd9

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/integrationtest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
matrix:
2828
include:
2929
- php_version: "5.6"
30-
wp_version: "5.9"
30+
wp_version: "6.0"
3131
multisite: true
3232

3333
- php_version: "7.0"
@@ -44,7 +44,7 @@ jobs:
4444

4545
# WP 5.6 is the earliest version which (sort of) supports PHP 8.0.
4646
- php_version: "8.0"
47-
wp_version: "5.9"
47+
wp_version: "6.0"
4848
multisite: false
4949

5050
# WP 5.9 is the earliest version which (sort of) supports PHP 8.1.

tests/unit/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
define( 'YOAST_SEO_PHP_REQUIRED', '5.6' );
3939
define( 'YOAST_SEO_WP_TESTED', '6.1.1' );
40-
define( 'YOAST_SEO_WP_REQUIRED', '5.9' );
40+
define( 'YOAST_SEO_WP_REQUIRED', '6.0' );
4141

4242
if ( ! defined( 'WPSEO_NAMESPACES' ) ) {
4343
define( 'WPSEO_NAMESPACES', true );

tests/unit/inc/addon-manager-test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ public function test_check_for_updates( $addons, $data, $expected, $message ) {
533533
[
534534
'wordpress-seo/wp-seo.php' => [
535535
'update' => [
536-
'tested' => '5.9',
536+
'tested' => '6.0',
537537
'requires_php' => '5.6',
538538
],
539539
],
@@ -546,7 +546,7 @@ public function test_check_for_updates( $addons, $data, $expected, $message ) {
546546

547547
// Now check that the Premium plugin won't show updates, if the requirement for the WP version coming from Yoast free, is not met.
548548
if ( isset( $addons['wp-seo-premium.php'] ) ) {
549-
$wp_version = '5.8';
549+
$wp_version = '5.9';
550550
$updates = $this->instance->check_for_updates( $data );
551551

552552
$this->assertTrue( isset( $updates->no_update['wp-seo-premium.php'] ) );

wp-seo-main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
define( 'YOAST_SEO_PHP_REQUIRED', '5.6' );
3838
define( 'YOAST_SEO_WP_TESTED', '6.1.1' );
39-
define( 'YOAST_SEO_WP_REQUIRED', '5.9' );
39+
define( 'YOAST_SEO_WP_REQUIRED', '6.0' );
4040

4141
if ( ! defined( 'WPSEO_NAMESPACES' ) ) {
4242
define( 'WPSEO_NAMESPACES', true );

wp-seo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* Text Domain: wordpress-seo
1717
* Domain Path: /languages/
1818
* License: GPL v3
19-
* Requires at least: 5.9
19+
* Requires at least: 6.0
2020
* Requires PHP: 5.6.20
2121
*
2222
* WC requires at least: 3.0

0 commit comments

Comments
 (0)