wp_list_pages() using wrong time/date fields. Bug 680.
git-svn-id: https://develop.svn.wordpress.org/trunk@2092 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f4bb37f16b
commit
ed1c204a4a
@ -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!!
|
||||
|
Loading…
Reference in New Issue
Block a user