From cf5e38acb6a51be3c8d1d7ae867f9581ef965eaf Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 9 Jan 2005 02:40:06 +0000 Subject: [PATCH] Fix post time display. Bug 636. git-svn-id: https://develop.svn.wordpress.org/trunk@2071 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/template-functions-general.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-includes/template-functions-general.php b/wp-includes/template-functions-general.php index af09ee6086..032db101b8 100644 --- a/wp-includes/template-functions-general.php +++ b/wp-includes/template-functions-general.php @@ -606,11 +606,10 @@ function the_time( $d = '' ) { } function get_the_time( $d = '' ) { - global $id, $post; if ( '' == $d ) $the_time = date( get_settings('time_format'), get_post_time() ); else - $the_time = mysql2date( $d, get_post_time() ); + $the_time = date( $d, get_post_time() ); return apply_filters('get_the_time', $the_time); }