From 1a98b38095335430652057622e9ec0710a8c5a96 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Sat, 1 Sep 2007 23:05:11 +0000 Subject: [PATCH] urlencode() redirect_to param in login links for both themes. fixes #4873 for trunk git-svn-id: https://develop.svn.wordpress.org/trunk@6006 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/classic/comments.php | 2 +- wp-content/themes/default/comments.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/classic/comments.php b/wp-content/themes/classic/comments.php index 1473074f68..ddb7543f0d 100644 --- a/wp-content/themes/classic/comments.php +++ b/wp-content/themes/classic/comments.php @@ -35,7 +35,7 @@

-

logged in to post a comment.'), get_option('siteurl')."/wp-login.php?redirect_to=".get_the_permalink());?>

+

logged in to post a comment.'), get_option('siteurl')."/wp-login.php?redirect_to=".urlencode(get_permalink()));?>

diff --git a/wp-content/themes/default/comments.php b/wp-content/themes/default/comments.php index a9f1f39271..33534ff8dd 100644 --- a/wp-content/themes/default/comments.php +++ b/wp-content/themes/default/comments.php @@ -66,7 +66,7 @@

Leave a Reply

-

You must be logged in to post a comment.

+

You must be logged in to post a comment.