WordPress.org

Make WordPress Core

Changeset 45380


Ignore:
Timestamp:
05/23/2019 12:40:08 AM (8 weeks ago)
Author:
SergeyBiryukov
Message:

Docs: Adjust get_post_modified_time filter DocBlock for consistency with get_post_time.

See #47110.

File:
1 edited

Legend:

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

    r45379 r45380  
    26592659        $time = $post->post_modified;
    26602660    }
     2661
    26612662    $time = mysql2date( $d, $time, $translate );
    26622663
     
    26672668     *
    26682669     * @param string $time The formatted time.
    2669      * @param string $d    The date format. Accepts 'G', 'U', or php date format. Default 'U'.
    2670      * @param bool   $gmt  Whether to return the GMT time. Default false.
     2670     * @param string $d    Format to use for retrieving the time the post was modified.
     2671     *                     Accepts 'G', 'U', or php date format. Default 'U'.
     2672     * @param bool   $gmt  Whether to retrieve the GMT time. Default false.
    26712673     */
    26722674    return apply_filters( 'get_post_modified_time', $time, $d, $gmt );
Note: See TracChangeset for help on using the changeset viewer.