From fa4ac951353d0f9b550034bd31cd517cf20c539c Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 20 Oct 2008 17:39:01 +0000 Subject: [PATCH] Tweak wp_page_menu() defaults. Props MichaelH. fixes #7914 git-svn-id: https://develop.svn.wordpress.org/trunk@9254 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 );