Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/User_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,10 @@
$user_ids[] = $user->ID;
}

if ( empty( $user_ids ) ) {
exit( 1 );

Check warning on line 549 in src/User_Command.php

View check run for this annotation

Codecov / codecov/patch

src/User_Command.php#L549

Added line #L549 was not covered by tests
Comment thread
mrsdizzie marked this conversation as resolved.
Outdated
}

$skip_email = Utils\get_flag_value( $assoc_args, 'skip-email' );
if ( $skip_email ) {
add_filter( 'send_email_change_email', '__return_false' );
Expand Down