WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/13/2005 04:36:09 PM (15 years ago)
Author:
ryan
Message:

Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/profile.php

    r2425 r2436  
    8787    $result = $wpdb->query("UPDATE $wpdb->users SET user_firstname='$newuser_firstname', $updatepassword user_lastname='$newuser_lastname', user_nickname='$newuser_nickname', user_icq='$newuser_icq', user_email='$newuser_email', user_url='$newuser_url', user_aim='$newuser_aim', user_msn='$newuser_msn', user_yim='$newuser_yim', user_idmode='$newuser_idmode', user_description = '$user_description', user_nicename = '$newuser_nicename' WHERE ID = $user_ID");
    8888
    89     header('Location: profile.php?updated=true');
     89    wp_redirect('profile.php?updated=true');
    9090break;
    9191
Note: See TracChangeset for help on using the changeset viewer.