Closed soderlind closed 5 years ago
Hi @soderlind
Thanks for reporting.
Will try to reproduce ans fix as soon as I can.
Hi @soderlind
I tried to reproduce this, but without success.
I did found an issue with move content, though.
I found that move-content step would do nothing if register-theme-folder
is also true (because it is not posssible to both move default WP content and also registers themes inside it as additional theme folder).
The issue is that register-theme-folder
is documented to be a default of false
(see https://github.com/wecodemore/wpstarter/blob/dev/docs/09-Settings-Cheat-Sheet.md), but it is actually true
by default, which means that even if you set move-content
settings to true, it will not move content unless you also set register-theme-folder
to true.
I will fix this by sticking with false
as default for register-theme-folder
. This might be a backward compatibility break, but considering that v3 is still in beta and that it was documented like so, I fill that this is the right thing to do.
However, I could not reproduce what you say:
It also prevents WP Starter from creating the new wp-content/plugins and wp-content/themes folders
Can you please try to set your wpstarter.json
to:
"move-content": true,
"register-theme-folder": false
And see if that works? If not, there might some other issue...
@gmazzap, I can confirm setting "register-theme-folder": false
fixes this issue.
Thanks a lot @soderlind then I'm closing this, the default has been updated on the dev
branch.
Describe the bug
"move-content" : true
deleteswp/wp-content
but doesn't move the files. It also prevents WP Starter from creating the newwp-content/plugins
andwp-content/themes
folders:To Reproduce Run
composer install
o the following files:wpstarter.json:
composer.json:
Expected behavior