Make WordPress Core


Ignore:
Timestamp:
03/13/2005 04:36:09 PM (20 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/link-manager.php

    r2376 r2436  
    244244    } // end if save
    245245    setcookie('links_show_cat_id_' . COOKIEHASH, $links_show_cat_id, time()+600);
    246     header('Location: ' . $this_file);
     246    wp_redirect($this_file);
    247247    break;
    248248  } // end Save
     
    268268    $links_show_cat_id = $cat_id;
    269269    setcookie('links_show_cat_id_' . COOKIEHASH, $links_show_cat_id, time()+600);
    270     header('Location: '.$this_file);
     270    wp_redirect($this_file);
    271271    break;
    272272  } // end Delete
Note: See TracChangeset for help on using the changeset viewer.