Docs: Adjust get_post_modified_time filter DocBlock for consistency with get_post_time.

See #47110.

git-svn-id: https://develop.svn.wordpress.org/trunk@45380 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-05-23 00:40:08 +00:00
parent 2a163fa733
commit a6579d4715

View File

@ -2658,6 +2658,7 @@ function get_post_modified_time( $d = 'U', $gmt = false, $post = null, $translat
} else {
$time = $post->post_modified;
}
$time = mysql2date( $d, $time, $translate );
/**
@ -2666,8 +2667,9 @@ function get_post_modified_time( $d = 'U', $gmt = false, $post = null, $translat
* @since 2.8.0
*
* @param string $time The formatted time.
* @param string $d The date format. Accepts 'G', 'U', or php date format. Default 'U'.
* @param bool $gmt Whether to return the GMT time. Default false.
* @param string $d Format to use for retrieving the time the post was modified.
* Accepts 'G', 'U', or php date format. Default 'U'.
* @param bool $gmt Whether to retrieve the GMT time. Default false.
*/
return apply_filters( 'get_post_modified_time', $time, $d, $gmt );
}