Make WordPress Core

Changeset 31600


Ignore:
Timestamp:
03/02/2015 06:15:36 AM (10 years ago)
Author:
DrewAPicture
Message:

Properly indent the hash notation of default arguments for wp_page_menu().

See #28841.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post-template.php

    r31408 r31600  
    11321132 *
    11331133 * @param array|string $args {
    1134  *     Optional. Arguments to generate a page menu. {@see wp_list_pages()}
    1135  *     for additional arguments.
    1136  *
    1137  * @type string          $sort_column How to short the list of pages. Accepts post column names.
    1138  *                                    Default 'menu_order, post_title'.
    1139  * @type string          $menu_class  Class to use for the div ID containing the page list. Default 'menu'.
    1140  * @type bool            $echo        Whether to echo the list or return it. Accepts true (echo) or false (return).
    1141  *                                    Default true.
    1142  * @type string          $link_before The HTML or text to prepend to $show_home text. Default empty.
    1143  * @type string          $link_after  The HTML or text to append to $show_home text. Default empty.
    1144  * @type int|bool|string $show_home   Whether to display the link to the home page. Can just enter the text
    1145  *                                    you'd like shown for the home link. 1|true defaults to 'Home'.
     1134 *     Optional. Arguments to generate a page menu. See wp_list_pages() for additional arguments.
     1135 *
     1136 *     @type string          $sort_column How to short the list of pages. Accepts post column names.
     1137 *                                        Default 'menu_order, post_title'.
     1138 *     @type string          $menu_class  Class to use for the div ID containing the page list. Default 'menu'.
     1139 *     @type bool            $echo        Whether to echo the list or return it. Accepts true (echo) or false (return).
     1140 *                                        Default true.
     1141 *     @type string          $link_before The HTML or text to prepend to $show_home text. Default empty.
     1142 *     @type string          $link_after  The HTML or text to append to $show_home text. Default empty.
     1143 *     @type int|bool|string $show_home   Whether to display the link to the home page. Can just enter the text
     1144 *                                        you'd like shown for the home link. 1|true defaults to 'Home'.
    11461145 * }
    11471146 * @return string html menu
Note: See TracChangeset for help on using the changeset viewer.