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

See #36300.


git-svn-id: https://develop.svn.wordpress.org/trunk@37051 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2016-03-22 17:43:51 +00:00
parent c4f61cf686
commit 542f0a118e
1 changed files with 4 additions and 4 deletions

View File

@ -123,7 +123,7 @@ class Walker_Comment extends Walker {
* @see Walker::display_element()
* @see wp_list_comments()
*
* @param object $element Data object.
* @param WP_Comment $element Data object.
* @param array $children_elements List of elements to continue traversing. Passed by reference.
* @param int $max_depth Max depth to traverse.
* @param int $depth Depth of the current element.
@ -165,7 +165,7 @@ class Walker_Comment extends Walker {
* @global WP_Comment $comment
*
* @param string $output Used to append additional content. Passed by reference.
* @param object $comment Comment data object.
* @param WP_Comment $comment Comment data object.
* @param int $depth Optional. Depth of the current comment in reference to parents. Default 0.
* @param array $args Optional. An array of arguments. Default empty array.
* @param int $id Optional. ID of the current comment. Default 0 (unused).
@ -254,7 +254,7 @@ class Walker_Comment extends Walker {
*
* @see wp_list_comments()
*
* @param object $comment Comment to display.
* @param WP_Comment $comment Comment to display.
* @param int $depth Depth of the current comment.
* @param array $args An array of arguments.
*/
@ -313,7 +313,7 @@ class Walker_Comment extends Walker {
*
* @see wp_list_comments()
*
* @param object $comment Comment to display.
* @param WP_Comment $comment Comment to display.
* @param int $depth Depth of the current comment.
* @param array $args An array of arguments.
*/