From 1db8790bf9f5a9cfbaa37219669de7840ad15985 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 8 Jan 2007 21:22:10 +0000 Subject: [PATCH] JS quoting fixes from nbachiyski. fixes #3539 git-svn-id: https://develop.svn.wordpress.org/trunk@4702 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/moderation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/moderation.php b/wp-admin/moderation.php index 22bcf26eca..e6d735bdb9 100644 --- a/wp-admin/moderation.php +++ b/wp-admin/moderation.php @@ -123,7 +123,7 @@ $i = 0;

— [ comment_ID.'">' . __('Edit') . ' | '; -echo " comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return deleteSomething( 'comment', $comment->comment_ID, '" . js_escape(sprintf(__("You are about to delete this comment by "%s".\n"Cancel" to stop, "OK" to delete."), $comment->comment_author )) . "', theCommentList );\">" . __('Delete ') . " | "; ?> +echo " comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return deleteSomething( 'comment', $comment->comment_ID, '" . js_escape(sprintf(__("You are about to delete this comment by '%s'.\n'Cancel' to stop, 'OK' to delete."), $comment->comment_author )) . "', theCommentList );\">" . __('Delete') . " | "; ?> comment_post_ID); $post_title = wp_specialchars( $post->post_title, 'double' );