Changeset 30674 for trunk/src/wp-includes/general-template.php
- Timestamp:
- 11/30/2014 11:23:37 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r30656 r30674 1859 1859 * @param string $d Optional. PHP date format defaults to the date_format option if not specified. 1860 1860 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default current post. 1861 * @return string|boolDate the current post was written. False on failure.1861 * @return false|string Date the current post was written. False on failure. 1862 1862 */ 1863 1863 function get_the_date( $d = '', $post = null ) { … … 1977 1977 * to the value specified in the time_format option. Default empty. 1978 1978 * @param int|WP_Post $post WP_Post object or ID. Default is global $post object. 1979 * @return string|int|boolFormatted date string or Unix timestamp. False on failure.1979 * @return false|string Formatted date string or Unix timestamp. False on failure. 1980 1980 */ 1981 1981 function get_the_time( $d = '', $post = null ) { … … 2015 2015 * @param int|WP_Post $post WP_Post object or ID. Default is global $post object. 2016 2016 * @param bool $translate Whether to translate the time string. Default false. 2017 * @return string|int|boolFormatted date string or Unix timestamp. False on failure.2017 * @return false|string Formatted date string or Unix timestamp. False on failure. 2018 2018 */ 2019 2019 function get_post_time( $d = 'U', $gmt = false, $post = null, $translate = false ) { … … 2102 2102 * @param int|WP_Post $post WP_Post object or ID. Default is global $post object. 2103 2103 * @param bool $translate Whether to translate the time string. Default false. 2104 * @return string|int|boolFormatted date string or Unix timestamp. False on failure.2104 * @return false|string Formatted date string or Unix timestamp. False on failure. 2105 2105 */ 2106 2106 function get_post_modified_time( $d = 'U', $gmt = false, $post = null, $translate = false ) {
Note: See TracChangeset
for help on using the changeset viewer.