From 6f1a62f089f0c4311a8eff49872e769f22f4924e Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 20 Oct 2008 17:39:01 +0000 Subject: [PATCH] Tweak wp_page_menu() defaults. Props MichaelH. fixes #7914 git-svn-id: http://svn.automattic.com/wordpress/trunk@9254 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 9028b10fa5..1e47b32950 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -649,7 +649,7 @@ function wp_list_pages($args = '') { * @param array|string $args */ function wp_page_menu( $args = array() ) { - $defaults = array('title_li' => '', 'sort_column' => 'menu_order', 'menu_class' => 'menu', 'echo' => false); + $defaults = array('sort_column' => 'post_title', 'menu_class' => 'menu', 'echo' => true); $args = wp_parse_args( $args, $defaults ); $args = apply_filters( 'wp_page_menu_args', $args );