From 3be6575475e47392c1a8b0f362a88eaa66652efd Mon Sep 17 00:00:00 2001 From: saxmatt Date: Tue, 5 Oct 2004 07:36:50 +0000 Subject: [PATCH] Fix GUID generation git-svn-id: http://svn.automattic.com/wordpress/trunk@1746 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-comments.php | 4 ++-- wp-admin/upgrade-functions.php | 8 ++++---- wp-includes/functions.php | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 6b4ff464d..6d074bef6 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -6,7 +6,7 @@ $parent_file = 'edit.php'; require_once('admin-header.php'); if (empty($_GET['mode'])) $mode = 'view'; -else $mode = $_GET['mode']; +else $mode = htmlspecialchars($_GET['mode']); ?>