Skip to content

[Issue] Changed "active" to "enabled" in bin/magento maintenance:status command #38486

@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #38410: Changed "active" to "enabled" in bin/magento maintenance:status command


Description (*)

I noticed that for changing maintenance mode using the commands bin/magento maintenance:enable and bin/magento maintenance:disable. But when executing the command bin/magento maintenance:status, I got Status: maintenance mode is active.

Changes Made

This Pull Request updates the output message of the bin/magento maintenance:status command. The status message has been modified for better clarity, changing from active to enabled and from not active to disabled for a more accurate representation of the maintenance mode status.

Before :

Screenshot from 2024-02-01 20-46-19

After :

Screenshot from 2024-02-02 17-56-30

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions