Use get_option instead of get_settings

git-svn-id: https://develop.svn.wordpress.org/trunk@9485 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-11-03 06:10:18 +00:00
parent 81a0168123
commit 2ed35e776e
1 changed files with 1 additions and 1 deletions

View File

@ -1164,7 +1164,7 @@ class Walker_Page extends Walker {
$css_class .= ' current_page_item'; $css_class .= ' current_page_item';
elseif ( $_current_page && $page->ID == $_current_page->post_parent ) elseif ( $_current_page && $page->ID == $_current_page->post_parent )
$css_class .= ' current_page_parent'; $css_class .= ' current_page_parent';
} elseif ( $page->ID == get_settings('page_for_posts') ) { } elseif ( $page->ID == get_option('page_for_posts') ) {
$css_class .= ' current_page_parent'; $css_class .= ' current_page_parent';
} }