Changeset 48929 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 09/01/2020 12:41:19 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r48918 r48929 545 545 * @since 4.4.0 Added the ability for `$comment_ID` to also accept a WP_Comment object. 546 546 * 547 * @param string $format Optional. The format of the date. Default user's setting.547 * @param string $format Optional. PHP date format. Defaults to the 'date_format' option. 548 548 * @param int|WP_Comment $comment_ID WP_Comment or ID of the comment for which to get the date. 549 549 * Default current comment. … … 563 563 * 564 564 * @param string|int $date Formatted date string or Unix timestamp. 565 * @param string $format The format of the date.565 * @param string $format PHP date format. 566 566 * @param WP_Comment $comment The comment object. 567 567 */ … … 575 575 * @since 4.4.0 Added the ability for `$comment_ID` to also accept a WP_Comment object. 576 576 * 577 * @param string $format Optional. The format of the date. Default user's settings.577 * @param string $format Optional. PHP date format. Defaults to the 'date_format' option. 578 578 * @param int|WP_Comment $comment_ID WP_Comment or ID of the comment for which to print the date. 579 579 * Default current comment. … … 1034 1034 * @since 1.5.0 1035 1035 * 1036 * @param string $format Optional. The format of the time. Default user's settings.1036 * @param string $format Optional. PHP date format. Defaults to the 'time_format' option. 1037 1037 * @param bool $gmt Optional. Whether to use the GMT date. Default false. 1038 1038 * @param bool $translate Optional. Whether to translate the time (for use in feeds). … … 1055 1055 * 1056 1056 * @param string|int $date The comment time, formatted as a date string or Unix timestamp. 1057 * @param string $format Date format.1057 * @param string $format PHP date format. 1058 1058 * @param bool $gmt Whether the GMT date is in use. 1059 1059 * @param bool $translate Whether the time is translated. … … 1068 1068 * @since 0.71 1069 1069 * 1070 * @param string $format Optional. The format of the time. Default user's settings.1070 * @param string $format Optional. PHP date format. Defaults to the 'time_format' option. 1071 1071 */ 1072 1072 function comment_time( $format = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.