[wp-trac] Re: [WordPress Trac] #2515: Select page to show as the
front page
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 17 08:51:01 GMT 2006
#2515: Select page to show as the front page
----------------------------+-----------------------------------------------
Id: 2515 | Status: new
Component: Administration | Modified: Mon Apr 17 08:51:01 2006
Severity: normal | Milestone: 2.1
Priority: normal | Version: 2.0.1
Owner: ryan | Reporter: ryan
----------------------------+-----------------------------------------------
Comment (by skeltoac):
Related to wp_list_pages() and walk_page_tree(), there is a problem with
the "Page" that is selected for display of posts. From wp_list_pages():
{{{
$current_page = $wp_query->get_queried_object_id();
$output .= walk_page_tree($pages, $depth, $current_page, $r['show_date'],
$r['date_format']);
}}}
When viewing the "Page" for posts, $current_page is not set to the
''requested'' Page ID. The current_page_item class is therefore not
applied.
--
Ticket URL: <http://trac.wordpress.org/ticket/2515>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list