Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[BUG] WP CLI flush-css comand not working on multisite #7190
The expected behavior is deleting all
Steps to reproduce
Isolating the problem
@reardestani How do you regenerate the CSS files? You use the
@tristanleboss Right, it doesn't trigger regeneration.
In our case, we need a UI option in network to regenerate Elementor CSS in all network sites.
At first, we developed a way to recursively delete all elementor folders in upload dirctory and we faced the issue that you mentioned.
Later we changed our way to use similar codes as below to fix the auto regeneration of assets.