Make WordPress Core


Ignore:
Timestamp:
12/20/2014 11:03:21 PM (10 years ago)
Author:
wonderboymusic
Message:

Correct the @param docs for arguments that are truthy/falsey.

See #30799.

File:
1 edited

Legend:

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

    r30912 r30983  
    11121112 *     for additional arguments.
    11131113 *
    1114  * @type string     $sort_column How to short the list of pages. Accepts post column names.
    1115  *                               Default 'menu_order, post_title'.
    1116  * @type string     $menu_class  Class to use for the div ID containing the page list. Default 'menu'.
    1117  * @type bool       $echo        Whether to echo the list or return it. Accepts true (echo) or false (return).
    1118  *                               Default true.
    1119  * @type string     $link_before The HTML or text to prepend to $show_home text. Default empty.
    1120  * @type string     $link_after  The HTML or text to append to $show_home text. Default empty.
    1121  * @type int|string $show_home   Whether to display the link to the home page. Can just enter the text
    1122  *                               you'd like shown for the home link. 1|true defaults to 'Home'.
     1114 * @type string          $sort_column How to short the list of pages. Accepts post column names.
     1115 *                                    Default 'menu_order, post_title'.
     1116 * @type string          $menu_class  Class to use for the div ID containing the page list. Default 'menu'.
     1117 * @type bool            $echo        Whether to echo the list or return it. Accepts true (echo) or false (return).
     1118 *                                    Default true.
     1119 * @type string          $link_before The HTML or text to prepend to $show_home text. Default empty.
     1120 * @type string          $link_after  The HTML or text to append to $show_home text. Default empty.
     1121 * @type int|bool|string $show_home   Whether to display the link to the home page. Can just enter the text
     1122 *                                    you'd like shown for the home link. 1|true defaults to 'Home'.
    11231123 * }
    11241124 * @return string html menu
Note: See TracChangeset for help on using the changeset viewer.