Changeset 6006
- Timestamp:
- 09/01/07 23:05:11 (1 year ago)
- Files:
-
- trunk/wp-content/themes/classic/comments.php (modified) (1 diff)
- trunk/wp-content/themes/default/comments.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-content/themes/classic/comments.php
r5697 r6006 36 36 37 37 <?php if ( get_option('comment_registration') && !$user_ID ) : ?> 38 <p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), get_option('siteurl')."/wp-login.php?redirect_to=". get_the_permalink());?></p>38 <p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), get_option('siteurl')."/wp-login.php?redirect_to=".urlencode(get_permalink()));?></p> 39 39 <?php else : ?> 40 40 trunk/wp-content/themes/default/comments.php
r5290 r6006 67 67 68 68 <?php if ( get_option('comment_registration') && !$user_ID ) : ?> 69 <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>69 <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> 70 70 <?php else : ?> 71 71
