Skip to content

Documentation: skip-plugins, skip-themes and mu-plugins #5838

Closed
wp-cli/handbook
#501

Description

@kkmuffme

Could the docs for "wp db reset" be updated to clarify that/if:

  1. if the command will not load any themes/plugins (= "--skip-plugins --skip-themes" are the default?)

  2. if the command will not load any mu-plugins?
    If it does load mu-plugins, there should be a way to stop that from happening. As otherwise (malicious) mu-plugins could stop the DB reset by just calling exit; and abort the process.

Activity

  1. danielbachhuber commented on Sep 18, 2023

    @danielbachhuber
    Member

    Thanks for the suggestion, @kkmuffme

    I think we could do even better: for every command with @when before_wp_load, include some explanation of when the command executes.

    I moved this to wp-cli/wp-cli because doing so would be a general framework change.

  2. added this to the 2.11.0 milestone on Apr 29, 2024
  3. danielbachhuber commented on Apr 29, 2024

    @danielbachhuber
    Member

    @mrsdizzie Could you apply the equivalent of wp-cli/handbook#501 to wp scaffold package-readme too? https://github.com/wp-cli/scaffold-package-command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions