Closed szepeviktor closed 3 years ago
👀 https://github.com/composer/installers/issues/467#issuecomment-724091848
Quote from the "Principles"
Do not install new major version releases of any software in production, let others test it first
@szepeviktor I tried to reproduce the removal of the folder and could see no erroneous behaviour. Composer is meant to delete and replace package folders.
The only way I can see this being a problem is:
wordpress/wp-content/etc...
The solution to both of which is... don't. You need to use a subdirectory install if you're planning to use this for anything beyond the initial WP installation, and you should never make additions or modifications in the wordpress
folder.
@tomjn Thank you for your long comment! As linked above Composer 2.0.5 had a bug that caused all these. It was fixed in 2.0.6!
then issue
composer update -vvv
So WP files got removed.
Works with Composer v1.
@johnpbloch Please advise.