Skip to content

Fix visibility in command class methods#423

Merged
thelovekesh merged 1 commit intowp-cli:mainfrom
ernilambar:fix-command-method-visibility
May 1, 2024
Merged

Fix visibility in command class methods#423
thelovekesh merged 1 commit intowp-cli:mainfrom
ernilambar:fix-command-method-visibility

Conversation

@ernilambar
Copy link
Copy Markdown
Member

@ernilambar ernilambar commented Apr 30, 2024

Introduced in #421

  • Change method visibility from public to private

When kept public, cmd_dump() was taking those as commands which should not be. https://github.com/ernilambar/wpcli/blob/main/src/manifest.json#L4442

@ernilambar ernilambar marked this pull request as ready for review April 30, 2024 05:42
@ernilambar ernilambar requested a review from a team as a code owner April 30, 2024 05:42
@swissspidy swissspidy added this to the 2.1.21 milestone Apr 30, 2024
@swissspidy swissspidy added the bug label Apr 30, 2024
@thelovekesh thelovekesh merged commit 23fe646 into wp-cli:main May 1, 2024
@ernilambar ernilambar deleted the fix-command-method-visibility branch May 1, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants