Notice Fix.

git-svn-id: https://develop.svn.wordpress.org/trunk@9479 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2008-11-02 22:24:42 +00:00
parent 8fbdb995dc
commit fbd3dc396c

View File

@ -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 )