From 0794999be833f4b9b84e8f3028801bb6e0dc1e76 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 14 Dec 2015 17:49:22 +0000 Subject: [PATCH] Docs: Document the `$id` parameter for `Walker_Comment::start_el()`, which is implemented by `Walker` but unused in the subclass method. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35927 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-walker-comment.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/class-walker-comment.php b/src/wp-includes/class-walker-comment.php index e82ec669e4..deb5b4d093 100644 --- a/src/wp-includes/class-walker-comment.php +++ b/src/wp-includes/class-walker-comment.php @@ -161,6 +161,7 @@ class Walker_Comment extends Walker { * @param object $comment Comment data object. * @param int $depth Depth of comment in reference to parents. * @param array $args An array of arguments. + * @param int $id Optional. ID of the current comment. Default 0 (unused). */ public function start_el( &$output, $comment, $depth = 0, $args = array(), $id = 0 ) { $depth++;