Docs: Clarify the `$format` parameter description in `comment_time()`.

See #51800.
Built from https://develop.svn.wordpress.org/trunk@49735


git-svn-id: http://core.svn.wordpress.org/trunk@49458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-12-02 16:55:06 +00:00
parent 00680f2e89
commit 0a20850f57
2 changed files with 3 additions and 3 deletions

View File

@ -1033,7 +1033,7 @@ function comment_text( $comment_ID = 0, $args = array() ) {
* *
* @since 1.5.0 * @since 1.5.0
* *
* @param string $format Optional. PHP date format. Defaults to the 'time_format' option. * @param string $format Optional. PHP time format. Defaults to the 'time_format' option.
* @param bool $gmt Optional. Whether to use the GMT date. Default false. * @param bool $gmt Optional. Whether to use the GMT date. Default false.
* @param bool $translate Optional. Whether to translate the time (for use in feeds). * @param bool $translate Optional. Whether to translate the time (for use in feeds).
* Default true. * Default true.
@ -1067,7 +1067,7 @@ function get_comment_time( $format = '', $gmt = false, $translate = true ) {
* *
* @since 0.71 * @since 0.71
* *
* @param string $format Optional. PHP date format. Defaults to the 'time_format' option. * @param string $format Optional. PHP time format. Defaults to the 'time_format' option.
*/ */
function comment_time( $format = '' ) { function comment_time( $format = '' ) {
echo get_comment_time( $format ); echo get_comment_time( $format );

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.7-alpha-49731'; $wp_version = '5.7-alpha-49735';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.