From 512779f2597d4b4b9be5f0c52e5e9e229262b3fa Mon Sep 17 00:00:00 2001 From: Dougal Campbell Date: Mon, 3 May 2004 21:45:34 +0000 Subject: [PATCH] Removed useless date() call. git-svn-id: https://develop.svn.wordpress.org/trunk@1221 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/post.php b/wp-admin/post.php index 8b429414c5..f409fef31f 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -86,7 +86,7 @@ case 'post': $hh = ($hh > 23) ? $hh - 24 : $hh; $mn = ($mn > 59) ? $mn - 60 : $mn; $ss = ($ss > 59) ? $ss - 60 : $ss; - $now = date("$aa-$mm-$jj $hh:$mn:$ss"); + $now = "$aa-$mm-$jj $hh:$mn:$ss"; $now_gmt = get_gmt_from_date("$aa-$mm-$jj $hh:$mn:$ss"); } else { $now = current_time('mysql');