mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Post timezone to lastpost filters. Props mdawaffe. fixes #5292
git-svn-id: http://svn.automattic.com/wordpress/trunk@6301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d85d86db03
commit
d9bba52a5f
@ -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