Skip to content

Commit

Permalink
Merge branch 'develop' into fix/sync-patterns-error-2
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwilsoncc authored Jun 17, 2024
2 parents d520ab4 + 75c0bf3 commit 9620a3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion includes/pull-ui.php
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,10 @@ function output_pull_errors() {

if ( is_a( $connection_now, '\Distributor\ExternalConnection' ) ) {
$error_key = "external_{$connection_now->id}";
} else {
} elseif ( is_a( $connection_now, '\Distributor\InternalConnections\NetworkSiteConnection' ) ) {
$error_key = "internal_{$connection_now->site->blog_id}";
} else {
return;
}

$pull_errors = get_transient( 'dt_connection_pull_errors_' . $error_key );
Expand Down

0 comments on commit 9620a3e

Please sign in to comment.