fix issue that federated comments will not be threaded properly

This commit is contained in:
Matthias Pfefferle 2024-09-17 11:22:22 +02:00
parent c8c4963466
commit b913400895

View file

@ -210,8 +210,7 @@ function is_comment() {
if ( ! is_null( $comment_id ) ) {
$comment = \get_comment( $comment_id );
// Only return local origin comments
if ( $comment && $comment->user_id ) {
if ( $comment ) {
return $comment_id;
}
}