mirror of
https://github.com/Automattic/wordpress-activitypub
synced 2024-10-18 14:23:31 +00:00
fix issue that federated comments will not be threaded properly
This commit is contained in:
parent
c8c4963466
commit
b913400895
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue