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:
ryan 2007-10-31 16:59:05 +00:00
parent d85d86db03
commit d9bba52a5f

View File

@ -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 );
}
//