This commit is contained in:
Django Doucet 2023-10-27 15:06:15 -06:00
parent 9da43a9d71
commit 921829f1b4

View file

@ -188,7 +188,7 @@ class Comment {
* Checks a comment ID for a source_id, or source_url
*/
protected function get_source_id( $comment ) {
if ( $comment->user_id ) {
if ( $comment->user_id ) {
return null;
}
@ -276,5 +276,4 @@ class Comment {
protected function get_mentions() {
return apply_filters( 'activitypub_extract_mentions', array(), $this->wp_comment->comment_content, $this->wp_comment );
}
}