From 2a2f21524e96ddca338a3833d993d576520c9002 Mon Sep 17 00:00:00 2001 From: rboren Date: Fri, 14 Jan 2005 23:06:12 +0000 Subject: [PATCH] wp_list_pages() using wrong time/date fields. Bug 680. git-svn-id: http://svn.automattic.com/wordpress/trunk@2092 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/template-functions-post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/template-functions-post.php b/wp-includes/template-functions-post.php index 26db02f836..b00a9873fb 100644 --- a/wp-includes/template-functions-post.php +++ b/wp-includes/template-functions-post.php @@ -327,9 +327,9 @@ function wp_list_pages($args = '') { // ts field. if (! empty($r['show_date'])) { if ('modified' == $r['show_date']) - $page_tree[$page->ID]['ts'] = $page->date_modified; + $page_tree[$page->ID]['ts'] = $page->time_modified; else - $page_tree[$page->ID]['ts'] = $page->date_created; + $page_tree[$page->ID]['ts'] = $page->time_created; } // The tricky bit!!