Fix strtotime warning. http://mosquito.wordpress.org/view.php?id=981
git-svn-id: https://develop.svn.wordpress.org/trunk@2412 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bab84dcf8e
commit
a250e4f8ab
@ -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 );
|
||||
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user