Use get_option instead of get_settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@9485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b7d2eb8000
commit
9c89c4af8c
|
@ -1164,7 +1164,7 @@ 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') ) {
|
||||
} elseif ( $page->ID == get_option('page_for_posts') ) {
|
||||
$css_class .= ' current_page_parent';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue