diff --git src/wp-includes/general-template.php src/wp-includes/general-template.php
index 434e3245a1..7f62f9911c 100644
|
|
function the_time( $d = '' ) { |
2425 | 2425 | * was written. Either 'G', 'U', or php date format defaults |
2426 | 2426 | * to the value specified in the time_format option. Default empty. |
2427 | 2427 | * @param int|WP_Post $post WP_Post object or ID. Default is global $post object. |
2428 | | * @return string|int|false Formatted date string or Unix timestamp if `$id` is 'U' or 'G'. False on failure. |
| 2428 | * @return string|int|false Formatted date string or Unix timestamp if `$d` is 'U' or 'G'. False on failure. |
2429 | 2429 | */ |
2430 | 2430 | function get_the_time( $d = '', $post = null ) { |
2431 | 2431 | $post = get_post( $post ); |
… |
… |
function get_the_time( $d = '', $post = null ) { |
2464 | 2464 | * @param bool $gmt Optional. Whether to retrieve the GMT time. Default false. |
2465 | 2465 | * @param int|WP_Post $post WP_Post object or ID. Default is global $post object. |
2466 | 2466 | * @param bool $translate Whether to translate the time string. Default false. |
2467 | | * @return string|int|false Formatted date string or Unix timestamp if `$id` is 'U' or 'G'. False on failure. |
| 2467 | * @return string|int|false Formatted date string or Unix timestamp if `$d` is 'U' or 'G'. False on failure. |
2468 | 2468 | */ |
2469 | 2469 | function get_post_time( $d = 'U', $gmt = false, $post = null, $translate = false ) { |
2470 | 2470 | $post = get_post( $post ); |
… |
… |
function get_the_modified_time( $d = '', $post = null ) { |
2564 | 2564 | * @param bool $gmt Optional. Whether to retrieve the GMT time. Default false. |
2565 | 2565 | * @param int|WP_Post $post WP_Post object or ID. Default is global $post object. |
2566 | 2566 | * @param bool $translate Whether to translate the time string. Default false. |
2567 | | * @return string|int|false Formatted date string or Unix timestamp if `$id` is 'U' or 'G'. False on failure. |
| 2567 | * @return string|int|false Formatted date string or Unix timestamp if `$d` is 'U' or 'G'. False on failure. |
2568 | 2568 | */ |
2569 | 2569 | function get_post_modified_time( $d = 'U', $gmt = false, $post = null, $translate = false ) { |
2570 | 2570 | $post = get_post( $post ); |