Make WordPress Core


Ignore:
Timestamp:
04/14/2009 06:31:49 PM (17 years ago)
Author:
ryan
Message:

Updates to wp_login_url() and wp_logout_url(). Use them in more places. Props wnorris. fixes #9536

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/comments.php

    r10177 r10931  
    5858
    5959<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
    60 <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>
     60<p>You must be <a href="<?php echo wp_login_url( get_permalink() ); ?>">logged in</a> to post a comment.</p>
    6161<?php else : ?>
    6262
Note: See TracChangeset for help on using the changeset viewer.