-
-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update WP theme paths task incorrectly checks wp_template_root var #731
Comments
I can confirm that I experience this bug. I have a custom theme in |
you can try reverting #720 in the meantime |
@retlehs awesome, it worked! Thanks a lot! Probably the solution which was proposed via |
Fix #731 - Use option stdout to fix theme paths
Deploying with the latest code from master I encountered a similar problem where apparently the option was pointing to web/wp-content/themes while I have my theme in web/app/themes and so I had to manually change the configuration in Update WP theme paths |
Submit a feature request or bug report
Bug report
The options
template_root
andtheme_root
are overridden on deploy even iftemplate_root
is empty or set to/themes
. As a result, it can break the activated theme (see discourse discussion below)It seems the fix for #718 contains a bug: i think it should compare
wp_template_root.stdout
instead ofwp_template_root
in the Update WP theme paths task.Please describe your local environment:
Ansible version: 2.2.0.0
OS: Windows 10
Vagrant version: 1.9.1
Where did the bug happen? Development or remote servers?
Remote
Is there a related Discourse thread or were any utilized (please link them)?
Seems to be discussing the same bug: https://discourse.roots.io/t/the-theme-directory-theme1-does-not-exist/8485/12
The text was updated successfully, but these errors were encountered: