diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index c4b04fe88c..594ecb02b1 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -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'); } }