Changeset 7081
- Timestamp:
- 02/28/2008 06:43:45 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/classes.php
r7074 r7081 552 552 $css_class = 'page_item page-item-'.$page->ID; 553 553 $_current_page = get_page( $current_page ); 554 if ( in_array($page->ID, $_current_page->ancestors) )554 if ( in_array($page->ID, (array) $_current_page->ancestors) ) 555 555 $css_class .= ' current_page_ancestor'; 556 556 if ( $page->ID == $current_page )
Note: See TracChangeset
for help on using the changeset viewer.