Skip to content

Commit

Permalink
Fix PHP switch warning, close stuttter#5.
Browse files Browse the repository at this point in the history
  • Loading branch information
lkraav committed May 12, 2021
1 parent 1c6d167 commit 3d67d55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wp-relationships/includes/functions/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ function wp_relationships_handle_actions() {
// Bail if an error occurred
if ( is_wp_error( $relationship ) ) {
$args['did_action'] = $relationship->get_error_code();
continue;
break;
}

$processed[] = $relationship->id;
Expand All @@ -269,7 +269,7 @@ function wp_relationships_handle_actions() {
// Error messages
if ( is_wp_error( $relationship ) ) {
$args['did_action'] = $relationship->get_error_code();
continue;
break;
}

// Update
Expand All @@ -278,7 +278,7 @@ function wp_relationships_handle_actions() {
// Error messages
if ( is_wp_error( $result ) ) {
$args['did_action'] = $result->get_error_code();
continue;
break;
}

$processed[] = $relationship_id;
Expand Down

0 comments on commit 3d67d55

Please sign in to comment.