Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ability-command.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
}
};

WP_CLI::add_command( 'ability', '\WP_CLI\Ability\AbilityCommand', [ 'before_invoke' => $wpcli_ability_before_invoke ] );
WP_CLI::add_command( 'ability category', '\WP_CLI\Ability\AbilityCategoryCommand', [ 'before_invoke' => $wpcli_ability_before_invoke ] );
WP_CLI::add_command( 'ability', '\WP_CLI\Ability\Ability_Command', [ 'before_invoke' => $wpcli_ability_before_invoke ] );
WP_CLI::add_command( 'ability category', '\WP_CLI\Ability\Ability_Category_Command', [ 'before_invoke' => $wpcli_ability_before_invoke ] );
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* @when after_wp_load
* @package wp-cli
*/
class AbilityCategoryCommand extends WP_CLI_Command {
class Ability_Category_Command extends WP_CLI_Command {

/**
* Default fields for list output.
Expand Down
2 changes: 1 addition & 1 deletion src/AbilityCommand.php → src/Ability_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
* @when after_wp_load
* @package wp-cli
*/
class AbilityCommand extends WP_CLI_Command {
class Ability_Command extends WP_CLI_Command {

/**
* Default fields for list output.
Expand Down