mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-23 08:41:24 +01:00
Fix strtotime warning. http://mosquito.wordpress.org/view.php?id=981
git-svn-id: http://svn.automattic.com/wordpress/trunk@2412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a91c28459e
commit
8d5745bfb4
@ -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…
Reference in New Issue
Block a user