From b40db2b6ab414d090b8cb232dbfd2e58164f32fb Mon Sep 17 00:00:00 2001 From: westi Date: Sun, 2 Nov 2008 22:24:42 +0000 Subject: [PATCH] Notice Fix. git-svn-id: http://svn.automattic.com/wordpress/trunk@9479 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 9d47d382ab..a7d93980e5 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -1245,7 +1245,7 @@ function get_the_time( $d = '', $post = null ) { * @param int|object $post Optional post ID or object. Default is global $post object. * @return string */ -function get_post_time( $d = 'U', $gmt = false, $post ) { // returns timestamp +function get_post_time( $d = 'U', $gmt = false, $post = null ) { // returns timestamp $post = get_post($post); if ( $gmt )