From 78f451030b75a5c55c6cc1a4dae5b833ce9e003e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 2 Dec 2020 16:53:05 +0000 Subject: [PATCH] Docs: Clarify the `$format` parameter description in `comment_time()`. See #51800. git-svn-id: https://develop.svn.wordpress.org/trunk@49735 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/comment-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/comment-template.php b/src/wp-includes/comment-template.php index aa521e473c..0d2da1f114 100644 --- a/src/wp-includes/comment-template.php +++ b/src/wp-includes/comment-template.php @@ -1033,7 +1033,7 @@ function comment_text( $comment_ID = 0, $args = array() ) { * * @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 $translate Optional. Whether to translate the time (for use in feeds). * Default true. @@ -1067,7 +1067,7 @@ function get_comment_time( $format = '', $gmt = false, $translate = true ) { * * @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 = '' ) { echo get_comment_time( $format );