Why are draft and private pages appearing in my menu?
I haven't tested it on top level pages, but child pages are still appearing even when their status is 'draft' or visibility is 'private'.
I have this in the functions.php
register_nav_menu( 'headmenu', 'Header Menu' );
And this in my header.php
<?php wp_nav_menu( array( 'theme_location' => 'headmenu', 'menu_class' => 'top-menu' ) ); ?>
Am I doing something wrong?