[wp-hackers] current_page_ancestor class lost on Tertiary pages?

Austin Matzko austin at ilfilosofo.com
Tue Sep 14 23:54:39 UTC 2010


On Tue, Sep 14, 2010 at 6:51 PM, Andrew Nacin <wp at andrewnacin.com> wrote:
> On Tue, Sep 14, 2010 at 7:39 PM, Austin Matzko <austin at ilfilosofo.com>wrote:
>>
>> It's confusing, but current_page_ancestor (underscores) is an alias
>> for current-menu-ancestor, for backwards-compatibility with
>> wp_nav_menu().
>
> To clarify, Austin is referring to wp_page_menu() here.

Whoops!  Thanks for catching that; current_page_ancestor is
backward-compatible with *wp_page_menu()*.


More information about the wp-hackers mailing list