lint
This commit is contained in:
parent
9da43a9d71
commit
921829f1b4
1 changed files with 1 additions and 2 deletions
|
@ -188,7 +188,7 @@ class Comment {
|
||||||
* Checks a comment ID for a source_id, or source_url
|
* Checks a comment ID for a source_id, or source_url
|
||||||
*/
|
*/
|
||||||
protected function get_source_id( $comment ) {
|
protected function get_source_id( $comment ) {
|
||||||
if ( $comment->user_id ) {
|
if ( $comment->user_id ) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -276,5 +276,4 @@ class Comment {
|
||||||
protected function get_mentions() {
|
protected function get_mentions() {
|
||||||
return apply_filters( 'activitypub_extract_mentions', array(), $this->wp_comment->comment_content, $this->wp_comment );
|
return apply_filters( 'activitypub_extract_mentions', array(), $this->wp_comment->comment_content, $this->wp_comment );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue