From 340fa25658768375a6440251fe281a13f3cef498 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 2 Mar 2015 06:15:36 +0000 Subject: [PATCH] Properly indent the hash notation of default arguments for `wp_page_menu()`. See #28841. git-svn-id: https://develop.svn.wordpress.org/trunk@31600 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post-template.php | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php index c4050d9718..735bfad032 100644 --- a/src/wp-includes/post-template.php +++ b/src/wp-includes/post-template.php @@ -1131,18 +1131,17 @@ function wp_list_pages( $args = '' ) { * @since 2.7.0 * * @param array|string $args { - * Optional. Arguments to generate a page menu. {@see wp_list_pages()} - * for additional arguments. + * Optional. Arguments to generate a page menu. See wp_list_pages() for additional arguments. * - * @type string $sort_column How to short the list of pages. Accepts post column names. - * Default 'menu_order, post_title'. - * @type string $menu_class Class to use for the div ID containing the page list. Default 'menu'. - * @type bool $echo Whether to echo the list or return it. Accepts true (echo) or false (return). - * Default true. - * @type string $link_before The HTML or text to prepend to $show_home text. Default empty. - * @type string $link_after The HTML or text to append to $show_home text. Default empty. - * @type int|bool|string $show_home Whether to display the link to the home page. Can just enter the text - * you'd like shown for the home link. 1|true defaults to 'Home'. + * @type string $sort_column How to short the list of pages. Accepts post column names. + * Default 'menu_order, post_title'. + * @type string $menu_class Class to use for the div ID containing the page list. Default 'menu'. + * @type bool $echo Whether to echo the list or return it. Accepts true (echo) or false (return). + * Default true. + * @type string $link_before The HTML or text to prepend to $show_home text. Default empty. + * @type string $link_after The HTML or text to append to $show_home text. Default empty. + * @type int|bool|string $show_home Whether to display the link to the home page. Can just enter the text + * you'd like shown for the home link. 1|true defaults to 'Home'. * } * @return string html menu */