Skip to content

Setup.sh blog description is inaccurate #3

@badasswp

Description

@badasswp

Bug

The blog description captured in the setup.sh file when the user runs the sculpt plugin command is always displaying the default fallback description, even if a user supplies a custom description during use.

Reproducible Steps

  • Run sculpt plugin command.
  • Make sure to provide a custom description for the plugin.
  • Observe that when plugin is generated, the setup.sh file contains the fallback description and not the custom one the user just added.

Expected Behaviour

If a user supplies a custom description, then that is supposed to be used instead of the fallback description. This needs to be fixed.

wp-env run cli wp option update blogdescription "A WordPress site for plugin devlopment by Sculpt."

Acceptance Criteria

  • This is now fixed and command now uses the custom description if user has provided any.
  • If no custom description is provided, fallback kicks in.
  • I have written unit tests and perform linting checks.
  • There are no regressions, whatsoever.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions