Skip to content
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

Deploys: --skip-themes when updating WP template_root #849

Merged
merged 1 commit into from
Jul 21, 2017

Conversation

fullyint
Copy link
Contributor

This PR is a piece of the former #848 and addresses https://discourse.roots.io/t/deploy-failing-at-task-deploy-get-wp-theme-template-root/10017

Some WP themes may throw errors if loaded in this context, e.g., some PHP classes may not be available with --skip-plugins. It is not necessary to load themes when updating WP options for template_root and stylesheet_root, so it is safer to --skip-themes.

Trellis already uses --skip-themes in conjunction with --skip-plugins in the WordPress Installed? task.

@swalkinshaw
Copy link
Member

:shipit:

Some WP themes may throw errors if loaded in this context,
e.g., some PHP classes may not be available with `--skip-plugins`.
It is not necessary to load themes when updating WP options for
template_root and stylesheet root, so it is safer to `--skip-themes`.
@fullyint fullyint merged commit 3ca4166 into master Jul 21, 2017
@fullyint fullyint deleted the template-root-skip-themes branch July 21, 2017 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants