From 4f7327534802448020c61f2cddf899d264cdea63 Mon Sep 17 00:00:00 2001 From: Wasseem Khayrattee Date: Sat, 28 Oct 2023 21:43:48 +0400 Subject: [PATCH] feat: Add "allow-plugins" to composer to trust necessary installers. This change ensures "johnpbloch/wordpress-core-installer" and "composer/installers" are trusted automatically, preventing prompts during `composer install`. --- composer.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/composer.json b/composer.json index 0bbd079..ee1fac9 100644 --- a/composer.json +++ b/composer.json @@ -19,6 +19,10 @@ "preferred-install": { "wkhayrattee/*": "source", "*": "dist" + }, + "allow-plugins": { + "johnpbloch/wordpress-core-installer": true, + "composer/installers": true } }, "extra": {