Skip to content

Commit ce6a103

Browse files
committed
Remove backslashes from reply notifications
Don't even know why they are there.
1 parent 073ffd0 commit ce6a103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/functions/comments/_comments_controller.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ function fictioneer_comment_notification( WP_Comment $parent, int $comment_id, a
412412
)
413413
),
414414
'[[reply_excerpt]]' => get_comment_excerpt( $comment_id ),
415-
'[[reply_content]]' => $comment_text,
415+
'[[reply_content]]' => stripslashes( $comment_text ),
416416
'[[site_title]]' => $site_name,
417417
'[[site_url]]' => site_url(),
418418
'[[unsubscribe_url]]' => add_query_arg(

0 commit comments

Comments
 (0)