From 44bf886cb990a0d1ae684d52e1ded23718f040c9 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 19 Oct 2010 07:35:12 +0000 Subject: [PATCH] Inline docs for _get_last_post_time helper. git-svn-id: https://develop.svn.wordpress.org/trunk@15841 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wp-includes/post.php b/wp-includes/post.php index 061ad7e382..f448146955 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -3977,6 +3977,16 @@ function get_lastpostmodified($timezone = 'server') { return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone ); } +/** + * Retrieve latest post date data based on timezone. + * + * @access private + * @since 3.1.0 + * + * @param string $timezone The location to get the time. Can be 'gmt', 'blog', or 'server'. + * @param string $field Field to check. Can be 'date' or 'modified'. + * @return string The date. + */ function _get_last_post_time( $timezone, $field ) { global $wpdb, $blog_id;