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:
parent
81a0168123
commit
2ed35e776e
|
@ -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