Make WordPress Core

Changeset 49735


Ignore:
Timestamp:
12/02/2020 04:53:05 PM (3 years ago)
Author:
SergeyBiryukov
Message:

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

See #51800.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment-template.php

    r49693 r49735  
    10341034 * @since 1.5.0
    10351035 *
    1036  * @param string $format    Optional. PHP date format. Defaults to the 'time_format' option.
     1036 * @param string $format    Optional. PHP time format. Defaults to the 'time_format' option.
    10371037 * @param bool   $gmt       Optional. Whether to use the GMT date. Default false.
    10381038 * @param bool   $translate Optional. Whether to translate the time (for use in feeds).
     
    10681068 * @since 0.71
    10691069 *
    1070  * @param string $format Optional. PHP date format. Defaults to the 'time_format' option.
     1070 * @param string $format Optional. PHP time format. Defaults to the 'time_format' option.
    10711071 */
    10721072function comment_time( $format = '' ) {
Note: See TracChangeset for help on using the changeset viewer.