phpcbf
This commit is contained in:
parent
1927587e95
commit
e4c991393d
2 changed files with 2 additions and 2 deletions
|
@ -534,7 +534,7 @@ function is_ap_replies() {
|
||||||
* @param boolean $post defaults to searching a comment_id
|
* @param boolean $post defaults to searching a comment_id
|
||||||
* @return string space separated webfinger of tagged users
|
* @return string space separated webfinger of tagged users
|
||||||
*/
|
*/
|
||||||
function reply_recipients( $object_id, $post = null ) { //TODO rename to avoid confusion with \Activitypub\Inbox::extract_recipients
|
function reply_recipients( $object_id, $post = null ) {
|
||||||
$recipients = null;
|
$recipients = null;
|
||||||
if ( $post ) {
|
if ( $post ) {
|
||||||
//post
|
//post
|
||||||
|
|
|
@ -193,7 +193,7 @@ class Comment {
|
||||||
return $this->content;
|
return $this->content;
|
||||||
}
|
}
|
||||||
|
|
||||||
$comment_content = $comment->comment_content;
|
$comment_content = $comment->comment_content;
|
||||||
|
|
||||||
$filtered_content = \apply_filters( 'the_content', $comment_content, $comment );
|
$filtered_content = \apply_filters( 'the_content', $comment_content, $comment );
|
||||||
$decoded_content = \html_entity_decode( $filtered_content, \ENT_QUOTES, 'UTF-8' );
|
$decoded_content = \html_entity_decode( $filtered_content, \ENT_QUOTES, 'UTF-8' );
|
||||||
|
|
Loading…
Reference in a new issue