Make WordPress Core

Changeset 37051


Ignore:
Timestamp:
03/22/2016 05:43:51 PM (11 years ago)
Author:
DrewAPicture
Message:

Docs: Comment display element object types for Walker_Comment are WP_Comment since 4.4.0.

See #36300.

File:
1 edited

Legend:

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

    r37050 r37051  
    124124         * @see wp_list_comments()
    125125         *
    126          * @param object $element           Data object.
     126         * @param WP_Comment $element           Data object.
    127127         * @param array  $children_elements List of elements to continue traversing. Passed by reference.
    128128         * @param int    $max_depth         Max depth to traverse.
    … …  
    166166         *
    167167         * @param string $output  Used to append additional content. Passed by reference.
    168          * @param object $comment Comment data object.
     168         * @param WP_Comment $comment Comment data object.
    169169         * @param int    $depth   Optional. Depth of the current comment in reference to parents. Default 0.
    170170         * @param array  $args    Optional. An array of arguments. Default empty array.
    … …  
    255255         * @see wp_list_comments()
    256256         *
    257          * @param object $comment Comment to display.
     257         * @param WP_Comment $comment Comment to display.
    258258         * @param int    $depth   Depth of the current comment.
    259259         * @param array  $args    An array of arguments.
    … …  
    314314         * @see wp_list_comments()
    315315         *
    316          * @param object $comment Comment to display.
     316         * @param WP_Comment $comment Comment to display.
    317317         * @param int    $depth   Depth of the current comment.
    318318         * @param array  $args    An array of arguments.
Note: See TracChangeset for help on using the changeset viewer.