Notice Fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@9479 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8fbdb995dc
commit
fbd3dc396c
@ -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
Block a user