Skip to content

[BUG] WP CLI flush-css comand not working on multisite #7190

@reardestani

Description

@reardestani

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Elementor.

Description

When running wp elementor flush-css --network it does not regenerate the sites CSS. It only does so for the primary site as shown in this video: http://take.ms/E9U5M

The expected behavior is deleting all elementor > css > * directory contents in all sites not only primary site.

Steps to reproduce

  • Create a network with some sites
  • Do same as above video.

Isolating the problem

  • This bug happens with only Elementor plugin active (and Elementor Pro).
  • This bug happens with a default WordPress theme active.
  • I can reproduce this bug consistently using the steps above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates a bug with one or multiple components.component/wp-cliReferences any component related to the integration with WP-CLI.mod*[Temp.] For internal use only.status/has-prIndicates that an Issue, or Discussion has a companion Pull Request awaiting to be merged.type/developer-apiIndicates when a topic is related to the Developer API and Documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions