Make WordPress Core

Ticket #5292: 5292.diff

File 5292.diff, 732 bytes (added by mdawaffe, 17 years ago)
  • wp-includes/post.php

     
    15841584        } else {
    15851585                $lastpostdate = $cache_lastpostdate[$blog_id][$timezone];
    15861586        }
    1587         return apply_filters( 'get_lastpostdate', $lastpostdate );
     1587        return apply_filters( 'get_lastpostdate', $lastpostdate, $timezone );
    15881588}
    15891589
    15901590function get_lastpostmodified($timezone = 'server') {
     
    16111611        } else {
    16121612                $lastpostmodified = $cache_lastpostmodified[$blog_id][$timezone];
    16131613        }
    1614         return apply_filters( 'get_lastpostmodified', $lastpostmodified );
     1614        return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone );
    16151615}
    16161616
    16171617//