OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e8ea53
)
Rename wp blog truncate to wp blog empty
author
Taylor Lovett
<admin@taylorlovett.com>
Wed, 24 Apr 2013 13:39:56 +0000
(13:39 +0000)
committer
Taylor Lovett
<admin@taylorlovett.com>
Wed, 24 Apr 2013 13:39:56 +0000
(13:39 +0000)
php/commands/blog.php
patch
|
blob
|
history
diff --git
a/php/commands/blog.php
b/php/commands/blog.php
index
0eef48b
..
7b046fb
100644
(file)
--- 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=<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',