Make WordPress Core

Ticket #40845: 40845.2.diff

File 40845.2.diff, 1.8 KB (added by dlh, 9 years ago)
  • src/wp-includes/general-template.php

     
    23132313         * @since 2.1.0
    23142314         * @since 4.6.0 Added the `$post` parameter.
    23152315         *
    2316          * @param string  $the_time The formatted date.
    2317          * @param string  $d        PHP date format. Defaults to value specified in
    2318          *                          'date_format' option.
    2319          * @param WP_Post $post     WP_Post object.
     2316         * @param string|bool  $the_time The formatted date or false if no post is found.
     2317         * @param string       $d        PHP date format. Defaults to value specified in
     2318         *                               'date_format' option.
     2319         * @param WP_Post|null $post     WP_Post object or null if no post is found.
    23202320         */
    23212321        return apply_filters( 'get_the_modified_date', $the_time, $d, $post );
    23222322}
     
    24682468         * @since 2.0.0
    24692469         * @since 4.6.0 Added the `$post` parameter.
    24702470         *
    2471          * @param string $the_time The formatted time.
    2472          * @param string $d        Format to use for retrieving the time the post was
    2473          *                         written. Accepts 'G', 'U', or php date format. Defaults
    2474          *                         to value specified in 'time_format' option.
    2475          * @param WP_Post $post    WP_Post object.
     2471         * @param string|bool  $the_time The formatted time or false if no post is found.
     2472         * @param string       $d        Format to use for retrieving the time the post was
     2473         *                               written. Accepts 'G', 'U', or php date format. Defaults
     2474         *                               to value specified in 'time_format' option.
     2475         * @param WP_Post|null $post     WP_Post object or null if no post is found.
    24762476         */
    24772477        return apply_filters( 'get_the_modified_time', $the_time, $d, $post );
    24782478}