Changeset 2440

Show
Ignore:
Timestamp:
03/13/05 22:29:44 (4 years ago)
Author:
ryan
Message:

Use wp_redirect() when logging out. http://mosquito.wordpress.org/view.php?id=592 Props: toby

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-login.php

    r2438 r2440  
    2828    header('Cache-Control: no-cache, must-revalidate, max-age=0'); 
    2929    header('Pragma: no-cache'); 
    30     header('Location: wp-login.php'); 
     30    wp_redirect('wp-login.php'); 
    3131    exit(); 
    3232