magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

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

Open m2-assistant[bot] opened this issue 1 year ago • 0 comments
trafficstars

This issue is automatically created based on existing pull request: magento/magento2#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)

m2-assistant[bot] avatar Feb 29 '24 14:02 m2-assistant[bot]