Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger new 'cli_init' hook during WordPress plugins_loaded action. #4861

Update language of scenario for better clarity.

  • Loading branch information...
jmichaelward committed Jul 20, 2018
commit 5dea3bfc732a511875f41fd893003e00847cd5e6
@@ -1667,7 +1667,7 @@ Feature: WP-CLI Commands
core custom-subcommand
"""

Scenario: An activated plugin should successfully trigger custom commands on the cli_init action.
Scenario: An activated plugin should successfully add custom commands when hooked on the cli_init action.

This comment has been minimized.

Copy link
@schlessera

schlessera Jul 20, 2018

Member

CS: No period after the scenario name.

Given a WP installation
And a wp-content/plugins/custom-command/custom-cmd.php file:
"""
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.