Ticket #40845: 40845.2.diff
| File 40845.2.diff, 1.8 KB (added by , 9 years ago) |
|---|
-
src/wp-includes/general-template.php
2313 2313 * @since 2.1.0 2314 2314 * @since 4.6.0 Added the `$post` parameter. 2315 2315 * 2316 * @param string $the_time The formatted date.2317 * @param string $d PHP date format. Defaults to value specified in2318 * '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. 2320 2320 */ 2321 2321 return apply_filters( 'get_the_modified_date', $the_time, $d, $post ); 2322 2322 } … … 2468 2468 * @since 2.0.0 2469 2469 * @since 4.6.0 Added the `$post` parameter. 2470 2470 * 2471 * @param string $the_time The formatted time.2472 * @param string $d Format to use for retrieving the time the post was2473 * written. Accepts 'G', 'U', or php date format. Defaults2474 * 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. 2476 2476 */ 2477 2477 return apply_filters( 'get_the_modified_time', $the_time, $d, $post ); 2478 2478 }