Make WordPress Core


Ignore:
Timestamp:
12/01/2014 02:16:36 AM (10 years ago)
Author:
wonderboymusic
Message:

Improve various @param docs.

See #30224.

File:
1 edited

Legend:

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

    r30674 r30682  
    20152015 * @param int|WP_Post $post      WP_Post object or ID. Default is global $post object.
    20162016 * @param bool        $translate Whether to translate the time string. Default false.
    2017  * @return false|string Formatted date string or Unix timestamp. False on failure.
     2017 * @return false|string|int Formatted date string or Unix timestamp. False on failure.
    20182018 */
    20192019function get_post_time( $d = 'U', $gmt = false, $post = null, $translate = false ) {
Note: See TracChangeset for help on using the changeset viewer.