WordPress.org

Make WordPress Core

Ticket #6664: classes.diff

File classes.diff, 675 bytes (added by joshgerdes, 7 years ago)
  • classes.php

     
    560560                        elseif ( $_current_page && $page->ID == $_current_page->post_parent ) 
    561561                                $css_class .= ' current_page_parent'; 
    562562                } 
    563  
     563                elseif ($page->ID == get_settings('page_for_posts')) 
     564                        $css_class .= ' current_page_parent'; 
     565                                 
    564566                $output .= $indent . '<li class="' . $css_class . '"><a href="' . get_page_link($page->ID) . '" title="' . attribute_escape(apply_filters('the_title', $page->post_title)) . '">' . apply_filters('the_title', $page->post_title) . '</a>'; 
    565567 
    566568                if ( !empty($show_date) ) {