Skip to content

Commit 6e436f7

Browse files
Fix - #216 user description was not getting saved
1 parent 999fdd8 commit 6e436f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/User_Command.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,8 @@ public function create( $args, $assoc_args ) {
373373

374374
$user->last_name = \WP_CLI\Utils\get_flag_value( $assoc_args, 'last_name', false );
375375

376+
$user->description = \WP_CLI\Utils\get_flag_value( $assoc_args, 'description', false );
377+
376378
if ( isset( $assoc_args['user_pass'] ) ) {
377379
$user->user_pass = $assoc_args['user_pass'];
378380
} else {

0 commit comments

Comments
 (0)