Skip to content

Commit 23f643a

Browse files
committed
Use get_flag_value instead of simple isset
1 parent 7d86e1b commit 23f643a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/User_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ public function update( $args, $assoc_args ) {
501501
$user_ids[] = $user->ID;
502502
}
503503

504-
if ( isset( $assoc_args['skip-email'] ) ) {
504+
if ( Utils\get_flag_value( $assoc_args, 'skip-email' ) ) {
505505
add_filter( 'send_email_change_email', '__return_false' );
506506
add_filter( 'send_password_change_email', '__return_false' );
507507
}

0 commit comments

Comments
 (0)