From 99b65aa57af98e21113b1f5e382144a1d3543822 Mon Sep 17 00:00:00 2001 From: Taylor Lovett Date: Wed, 24 Apr 2013 13:39:56 +0000 Subject: [PATCH] Rename wp blog truncate to wp blog empty --- php/commands/blog.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php/commands/blog.php b/php/commands/blog.php index 0eef48b7..7b046fb8 100644 --- a/php/commands/blog.php +++ b/php/commands/blog.php @@ -10,9 +10,10 @@ class Blog_Command extends WP_CLI_Command { /** * Empty a blog * + * @subcommand empty * @synopsis [--post_type=] [--keep_terms] [--keep_comments] */ - public function truncate( $args, $assoc_args ) { + public function _empty( $args, $assoc_args ) { $assoc_args = wp_parse_args( $assoc_args, array( 'post_type' => 'all', -- 2.11.0