git-svn-id: https://develop.svn.wordpress.org/trunk@2412 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-03-06 05:48:41 +00:00
parent bab84dcf8e
commit a250e4f8ab
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ if (0 == $post_ID) {
$sendto = $_SERVER['HTTP_REFERER'];
if ( $sendto == get_permalink($post) )
$sendto = 'redo';
if ( 0 != $post_ID && $sendto == get_permalink($post_ID) )
$sendto = 'redo';
$sendto = wp_specialchars( $sendto );
?>