Make WordPress Core

Ticket #29011: 29011.diff

File 29011.diff, 1.8 KB (added by dnaber-de, 11 years ago)
  • wp-includes/comment-template.php

    diff --git wp-includes/comment-template.php wp-includes/comment-template.php
    index 5144285..0d44376 100644
    class Walker_Comment extends Walker { 
    18891889 * @param string|array $args {
    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'.
    18951895 *     @type string $callback          Callback function to use. Default null.
  • wp-includes/nav-menu-template.php

    diff --git wp-includes/nav-menu-template.php wp-includes/nav-menu-template.php
    index d34dfc3..4d380a2 100644
    class Walker_Nav_Menu extends Walker { 
    215215 *     @type string        $link_after      Text after the link. Default empty.
    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.
    221221 *     @type string        $items_wrap      How the list items should be wrapped. Default is a ul with an id and class.