Skip to content

Commit

Permalink
Update php/class-coauthors-plus.php
Browse files Browse the repository at this point in the history
Co-authored-by: Gary Jones <[email protected]>
  • Loading branch information
katag9k and GaryJones authored Oct 18, 2023
1 parent e8caa79 commit 2e43673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/class-coauthors-plus.php
Original file line number Diff line number Diff line change
Expand Up @@ -1831,7 +1831,7 @@ public function filter_pre_get_avatar_data_url( $args, $id ) {
return $args;
}

// Do not filter the avatar if this is doing a heartbeat request on WP refresh lock
// Do not filter the avatar if this is doing a heartbeat request on WP refresh lock.
if ( wp_doing_ajax() && isset( $_POST['action'] ) && 'heartbeat' === $_POST['action'] ) {
return $args;
}
Expand Down

0 comments on commit 2e43673

Please sign in to comment.