From 2e4367361e6096a9b6fc91588efb07812b932e36 Mon Sep 17 00:00:00 2001 From: Kata Date: Wed, 18 Oct 2023 11:51:19 -0400 Subject: [PATCH] Update php/class-coauthors-plus.php Co-authored-by: Gary Jones --- php/class-coauthors-plus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/class-coauthors-plus.php b/php/class-coauthors-plus.php index a49ca284..3041ede0 100644 --- a/php/class-coauthors-plus.php +++ b/php/class-coauthors-plus.php @@ -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; }