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

fix(composer): use wp-cli to clear compiled #155

Merged
merged 2 commits into from
Dec 24, 2021

Conversation

QWp6t
Copy link
Sponsor Member

@QWp6t QWp6t commented Dec 24, 2021

Currently when Sage attempts to run a post-dump-autoload script, it fails due to some changes Acorn has made to the directory structure. Even if those changes were reverted, this implementation is flawed due to the flexibility of Acorn's paths.

This PR will utilize wp-cli to run acorn console commands. This does mean that WordPress gets booted, which is less than ideal, but the risk is minimal.

x-ref log1x/acf-composer#101

@QWp6t QWp6t merged commit c280096 into main Dec 24, 2021
@QWp6t QWp6t deleted the acf-composer-101-clear-compiled branch December 24, 2021 11:55
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.

1 participant