From 69eeedabf916a88004232b685a801151d91b0c9a Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 22 Mar 2016 17:44:25 +0000 Subject: [PATCH] Docs: Comment display element object types for `Walker_Comment` are `WP_Comment` since 4.4.0. See #36300. Built from https://develop.svn.wordpress.org/trunk@37051 git-svn-id: http://core.svn.wordpress.org/trunk@37018 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-walker-comment.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/class-walker-comment.php b/wp-includes/class-walker-comment.php index 026be3c028..7659fab2c1 100644 --- a/wp-includes/class-walker-comment.php +++ b/wp-includes/class-walker-comment.php @@ -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. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 0bd96530d7..9d424195c4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-beta4-37050'; +$wp_version = '4.5-beta4-37051'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.