From 8292bdd40ab3a9e70d44dad0e681d0222c1556cb Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 13 Oct 2008 00:33:05 +0000 Subject: Re-commit of #242873 by pwolanin and bjaspan: Make drupal_set_title() check_plain() by default. --- modules/comment/comment.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index cde48a989..db663aa87 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1442,7 +1442,7 @@ function comment_form_box($edit, $title = NULL) { function comment_form_add_preview($form, &$form_state) { global $user; $edit = $form_state['values']; - drupal_set_title(t('Preview comment')); + drupal_set_title(t('Preview comment'), PASS_THROUGH); $output = ''; $node = node_load($edit['nid']); -- cgit v1.2.3