From 3179cb8d7f95f66c93a32e5d17f7652361b16a8a Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Wed, 15 Jan 2025 16:23:18 +0000 Subject: [PATCH] Build/Test Tools: Pin specific Importer version. This pins the last version compatible with WordPress 5.1 to that branch. Follow up to [59615]. Reviewed by swissspidy. See #52909. See #62280. git-svn-id: https://develop.svn.wordpress.org/branches/5.1@59629 602fd350-edb4-49c9-b593-d223f7449a82 --- tools/local-env/scripts/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/local-env/scripts/install.js b/tools/local-env/scripts/install.js index 96c4143bbe..99d42314e9 100644 --- a/tools/local-env/scripts/install.js +++ b/tools/local-env/scripts/install.js @@ -55,5 +55,5 @@ function install_wp_importer() { const testPluginDirectory = 'tests/phpunit/data/plugins/wordpress-importer'; execSync( `docker compose exec -T php rm -rf ${testPluginDirectory}`, { stdio: 'inherit' } ); - execSync( `docker compose exec -T php git clone https://github.com/WordPress/wordpress-importer.git ${testPluginDirectory} --depth=1`, { stdio: 'inherit' } ); + execSync( `docker compose exec -T php git clone https://github.com/WordPress/wordpress-importer.git ${testPluginDirectory} --depth=1 --branch 0.7`, { stdio: 'inherit' } ); }