From fec835ab8c18aacd104813f4d4c4fc41d914d90a Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Wed, 15 May 2024 06:59:14 +0000 Subject: [PATCH] Tests: Skip Gutenberg plugin activation test on older WP versions. The purpose of `tests/e2e/specs/gutenberg-plugin.test.js` is to ensure that running the Gutenberg plugin (stable version) on a WordPress `trunk` install doesn't produce any fatals. The test was introduced in [54913], i.e. it has been around since WP 6.2. It makes sense to have it present on older branches, as the Gutenberg plugin not only supports `trunk`, but also the current stable version of WordPress (i.e. currently 6.5), and one version below (6.4). However, it is not expected to work on any earlier versions beyond that; in practice, it has produced errors on some of those. This changeset checks the REST API response from the plugin activation request. If it returns an error with error code `plugin_wp_incompatible`, it skips the test. Reviewed by jorbin. Merges [58046] to the 6.5 branch. Props jorbin, johnbillion, swissspidy. Fixes #60971. Built from https://develop.svn.wordpress.org/branches/6.5@58151 git-svn-id: http://core.svn.wordpress.org/branches/6.5@57616 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index a7f0b3f481..d05be5808c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5.4-alpha-58117'; +$wp_version = '6.5.4-alpha-58151'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.