Changeset 44592
- Timestamp:
- 01/15/2019 02:07:41 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r44566 r44592 2427 2427 * to the value specified in the time_format option. Default empty. 2428 2428 * @param int|WP_Post $post WP_Post object or ID. Default is global $post object. 2429 * @return string|int|false Formatted date string or Unix timestamp if `$ id` is 'U' or 'G'. False on failure.2429 * @return string|int|false Formatted date string or Unix timestamp if `$d` is 'U' or 'G'. False on failure. 2430 2430 */ 2431 2431 function get_the_time( $d = '', $post = null ) { … … 2466 2466 * @param int|WP_Post $post WP_Post object or ID. Default is global $post object. 2467 2467 * @param bool $translate Whether to translate the time string. Default false. 2468 * @return string|int|false Formatted date string or Unix timestamp if `$ id` is 'U' or 'G'. False on failure.2468 * @return string|int|false Formatted date string or Unix timestamp if `$d` is 'U' or 'G'. False on failure. 2469 2469 */ 2470 2470 function get_post_time( $d = 'U', $gmt = false, $post = null, $translate = false ) { … … 2566 2566 * @param int|WP_Post $post WP_Post object or ID. Default is global $post object. 2567 2567 * @param bool $translate Whether to translate the time string. Default false. 2568 * @return string|int|false Formatted date string or Unix timestamp if `$ id` is 'U' or 'G'. False on failure.2568 * @return string|int|false Formatted date string or Unix timestamp if `$d` is 'U' or 'G'. False on failure. 2569 2569 */ 2570 2570 function get_post_modified_time( $d = 'U', $gmt = false, $post = null, $translate = false ) {
Note: See TracChangeset
for help on using the changeset viewer.