Ticket #47777: patch.diff
| File patch.diff, 1022 bytes (added by , 7 years ago) |
|---|
-
src/wp-includes/post.php
6315 6315 6316 6316 $lastpostmodified = _get_last_post_time( $timezone, 'modified', $post_type ); 6317 6317 6318 $lastpostdate = get_lastpostdate( $timezone );6318 $lastpostdate = get_lastpostdate( $timezone, $post_type ); 6319 6319 if ( $lastpostdate > $lastpostmodified ) { 6320 6320 $lastpostmodified = $lastpostdate; 6321 6321 } … … 6328 6328 * @param string $lastpostmodified Date the last post was modified. 6329 6329 * @param string $timezone Location to use for getting the post modified date. 6330 6330 * See get_lastpostdate() for accepted `$timezone` values. 6331 * @param string $post_type The post type to check. 6331 6332 */ 6332 return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone );6333 return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone, $post_type ); 6333 6334 } 6334 6335 6335 6336 /**