[wp-hackers] Category DB Changes in 2.1?

Ryan Boren ryan at boren.nu
Fri Feb 2 17:03:03 GMT 2007


On 2/2/07, ryan fitzer <ryanfitzer at gmail.com> wrote:
> >
> > Sorry...
> > What do you mean by
> > >the page gets class="page_item current_page_item" applied to it.
>
>
> Hey Brian, essentially,  the function wp_lists_pages is thinking that I'm
> currently on ?page_id=4 (for example) while I'm actually viewing ?cat=4.
> Therefore applying the active css class to both items ("current_page_item").
> The main nav has 2 items that look as if they're selected.

I just put in a fix for 3049 that should help.

http://trac.wordpress.org/ticket/3049

Ryan


More information about the wp-hackers mailing list