Notice Fix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
faa235224e
commit
b40db2b6ab
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue