WordPress.org

Make WordPress Core

Changeset 2440


Ignore:
Timestamp:
03/13/2005 10:29:44 PM (17 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.