diff options
Diffstat (limited to 'wp-content/themes/default/comments.php')
-rw-r--r-- | wp-content/themes/default/comments.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-content/themes/default/comments.php b/wp-content/themes/default/comments.php index a9f1f39..33534ff 100644 --- a/wp-content/themes/default/comments.php +++ b/wp-content/themes/default/comments.php @@ -66,7 +66,7 @@ <h3 id="respond">Leave a Reply</h3> <?php if ( get_option('comment_registration') && !$user_ID ) : ?> -<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p> +<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p> <?php else : ?> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> |