[BUG] WP CLI flush-css comand not working on multisite #7190
Comments
|
Tested the codes in the new commit, it fixes the issue. FYI |
|
@reardestani How do you regenerate the CSS files? You use the If |
|
@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. elementor/modules/wp-cli/command.php Line 36 in 723041e
|


Prerequisites
Description
When running
wp elementor flush-css --networkit does not regenerate the sites CSS. It only does so for the primary site as shown in this video: http://take.ms/E9U5MThe expected behavior is deleting all
elementor > css > *directory contents in all sites not only primary site.Steps to reproduce
Isolating the problem
The text was updated successfully, but these errors were encountered: