git-svn-id: http://svn.automattic.com/wordpress/trunk@2412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-03-06 05:48:41 +00:00
parent a91c28459e
commit 8d5745bfb4
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 );
?>