Make WordPress Core

Ticket #11095: 11095.2.patch

File 11095.2.patch, 1.1 KB (added by stevegrunwell, 10 years ago)

Adds inline docs to code committed by @wonderboymusic in 34200

  • wp-includes/post-template.php

     
    12001200 *     @type string          $link_after  The HTML or text to append to $show_home text. Default empty.
    12011201 *     @type int|bool|string $show_home   Whether to display the link to the home page. Can just enter the text
    12021202 *                                        you'd like shown for the home link. 1|true defaults to 'Home'.
     1203 *     @type string          $before      The HTML or text to prepend to the menu. Default is '<ul>'.
     1204 *     @type string          $after       The HTML or text to append to the menu. Default is '</ul>'.
     1205 *     @type WP_Walker       $walker      Walker instance to use building the menu. Default empty (Walker_Page).
    12031206 * }
    12041207 * @return string|void HTML menu
    12051208 */
     
    12101213                'echo' => true,
    12111214                'link_before' => '',
    12121215                'link_after' => '',
     1216                'show_home' => true,
    12131217                'before' => '<ul>',
    12141218                'after' => '</ul>',
    12151219                'walker' => ''