Append don't overwrite. See #8649 props rboren.
git-svn-id: https://develop.svn.wordpress.org/trunk@10121 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f3dd1ef856
commit
c7de5ef953
|
@ -688,7 +688,7 @@ function wp_page_menu( $args = array() ) {
|
|||
} else {
|
||||
$list_args['exclude'] = '';
|
||||
}
|
||||
$list_args['exclude'] = get_option('page_on_front');
|
||||
$list_args['exclude'] .= get_option('page_on_front');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue