Ticket #14102: page_with_children.diff
File page_with_children.diff, 550 bytes (added by , 15 years ago) |
---|
-
wp-includes/classes.php
1188 1188 1189 1189 extract($args, EXTR_SKIP); 1190 1190 $css_class = array('page_item', 'page-item-'.$page->ID); 1191 if ( $has_children ) 1192 $css_class[] = 'page_with_children'; 1191 1193 if ( !empty($current_page) ) { 1192 1194 $_current_page = get_page( $current_page ); 1193 1195 if ( isset($_current_page->ancestors) && in_array($page->ID, (array) $_current_page->ancestors) )