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
This commit is contained in:
parent
7b0e13670d
commit
340fa25658
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue