diff --git a/wp-includes/classes.php b/wp-includes/classes.php index 7e717fcd06..a55123ae53 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -1164,6 +1164,8 @@ class Walker_Page extends Walker { $css_class .= ' current_page_item'; elseif ( $_current_page && $page->ID == $_current_page->post_parent ) $css_class .= ' current_page_parent'; + } elseif ( $page->ID == get_settings('page_for_posts') ) { + $css_class .= ' current_page_parent'; } $output .= $indent . '