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/classic/comments.php

    r10767 r10931  
    4343
    4444<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
    45 <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>
     45<p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), wp_login_url( get_permalink() ) );?></p>
    4646<?php else : ?>
    4747
Note: See TracChangeset for help on using the changeset viewer.