Post timezone to lastpost filters. Props mdawaffe. fixes #5292
git-svn-id: https://develop.svn.wordpress.org/trunk@6301 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8e29dfa495
commit
dbad2a3943
@ -1584,7 +1584,7 @@ function get_lastpostdate($timezone = 'server') {
|
||||
} else {
|
||||
$lastpostdate = $cache_lastpostdate[$blog_id][$timezone];
|
||||
}
|
||||
return apply_filters( 'get_lastpostdate', $lastpostdate );
|
||||
return apply_filters( 'get_lastpostdate', $lastpostdate, $timezone );
|
||||
}
|
||||
|
||||
function get_lastpostmodified($timezone = 'server') {
|
||||
@ -1611,7 +1611,7 @@ function get_lastpostmodified($timezone = 'server') {
|
||||
} else {
|
||||
$lastpostmodified = $cache_lastpostmodified[$blog_id][$timezone];
|
||||
}
|
||||
return apply_filters( 'get_lastpostmodified', $lastpostmodified );
|
||||
return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone );
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user