CARVIEW |
Select Language
HTTP/2 200
server: nginx
date: Sat, 11 Oct 2025 04:35:55 GMT
content-type: text/html;charset=utf-8
vary: Accept-Encoding
etag: W/"anonymous/Wed, 11 Jun 2014 22:14:26 GMT/False"
cache-control: must-revalidate
expires: Fri, 01 Jan 1999 00:00:00 GMT
alt-svc: h3=":443"; ma=86400
strict-transport-security: max-age=31536000
x-frame-options: SAMEORIGIN
content-encoding: gzip
15499.diff on Ticket #15499 – Attachment
– WordPress Trac
Ticket #15499: 15499.diff
File 15499.diff, 528 bytes (added by simonwheatley, 11 years ago) |
---|
Diff to cut the get_lastpostdate call from within get_lastpostmodified |
-
src/wp-includes/post.php
5312 5312 function get_lastpostmodified($timezone = 'server') { 5313 5313 $lastpostmodified = _get_last_post_time( $timezone, 'modified' ); 5314 5314 5315 $lastpostdate = get_lastpostdate($timezone);5316 if ( $lastpostdate > $lastpostmodified )5317 $lastpostmodified = $lastpostdate;5318 5319 5315 /** 5320 5316 * Filter the date the last post was modified. 5321 5317 *