Skip to content

Commit 50e781e

Browse files
authored
Merge pull request #466 from ernilambar/fix-term-commands-examples
2 parents 2b5d5d5 + 9c0ed62 commit 50e781e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Term_Command.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -674,9 +674,10 @@ public function recount( $args ) {
674674
*
675675
* # Migrate a category's term (video) to tag taxonomy.
676676
* $ wp term migrate 9190 --from=category --to=post_tag
677-
* Term '9190' migrated!
678-
* Old instance of term '9190' removed from its original taxonomy.
679-
* Success: Migrated the term '9190' from taxonomy 'category' to taxonomy 'post_tag' for 1 posts
677+
* Term 'video' assigned to post 1155.
678+
* Term 'video' migrated.
679+
* Old instance of term 'video' removed from its original taxonomy.
680+
* Success: Migrated the term 'video' from taxonomy 'category' to taxonomy 'post_tag' for 1 post.
680681
*/
681682
public function migrate( $args, $assoc_args ) {
682683
$term_reference = $args[0];

0 commit comments

Comments
 (0)