From d9bba52a5f176ac7f4606ef870751d147173a0f9 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 31 Oct 2007 16:59:05 +0000 Subject: [PATCH] Post timezone to lastpost filters. Props mdawaffe. fixes #5292 git-svn-id: http://svn.automattic.com/wordpress/trunk@6301 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index faae9e4f01..34ceb18628 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -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 ); } //