From 6db8d851944b690f5e93eee4d5f4ab2e8212f097 Mon Sep 17 00:00:00 2001 From: Lee Willis Date: Sun, 10 Mar 2013 21:56:38 +0000 Subject: [PATCH] function rename, and remove unneeded @subcommand declarations --- php/commands/role.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/php/commands/role.php b/php/commands/role.php index 785544ca..0846352d 100644 --- a/php/commands/role.php +++ b/php/commands/role.php @@ -30,10 +30,9 @@ class Role_Command extends WP_CLI_Command { /** * Create a new role. * - * @subcommand create * @synopsis */ - public function _create( $args ) { + public function create( $args ) { self::persistence_check(); $role_key = array_shift( $args ); @@ -52,10 +51,9 @@ class Role_Command extends WP_CLI_Command { /** * Delete an existing role * - * @subcommand delete * @synopsis */ - public function _delete( $args ) { + public function delete( $args ) { global $wp_roles; -- 2.11.0