Make WordPress Core

Changeset 29293


Ignore:
Timestamp:
07/24/2014 10:24:07 PM (10 years ago)
Author:
wonderboymusic
Message:

Correct a few @param docs for $walker.

Props dnaber-de.
Fixes #29011.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

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

    r29163 r29293  
    18901890 *     Optional. Formatting options.
    18911891 *
    1892  *     @type string $walker            The Walker class used to list comments. Default null.
     1892 *     @type object $walker            Instance of a Walker class to list comments. Default null.
    18931893 *     @type int    $max_depth         The maximum comments depth. Default empty.
    18941894 *     @type string $style             The style of list ordering. Default 'ul'. Accepts 'ul', 'ol'.
  • trunk/src/wp-includes/nav-menu-template.php

    r28867 r29293  
    216216 *     @type bool          $echo            Whether to echo the menu or return it. Default true.
    217217 *     @type int           $depth           How many levels of the hierarchy are to be included. 0 means all. Default 0.
    218  *     @type string        $walker          Allows a custom walker class to be specified. Default empty.
     218 *     @type object        $walker          Instance of a custom walker class. Default empty.
    219219 *     @type string        $theme_location  Theme location to be used. Must be registered with register_nav_menu()
    220220 *                                          in order to be selectable by the user.
Note: See TracChangeset for help on using the changeset viewer.