From e89737ccfb40dc95ac8e978075d6f624c150f7ce Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 9 Oct 2015 21:03:25 +0000 Subject: [PATCH] Docs: Fix wrapping and syntax for a multi-comment in `Walker_Comment::display_element()`. See #32246. Built from https://develop.svn.wordpress.org/trunk@34993 git-svn-id: http://core.svn.wordpress.org/trunk@34958 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-walker-comment.php | 7 +++++-- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-walker-comment.php b/wp-includes/class-walker-comment.php index 74d69de250..27ec75a1a3 100644 --- a/wp-includes/class-walker-comment.php +++ b/wp-includes/class-walker-comment.php @@ -132,8 +132,11 @@ class Walker_Comment extends Walker { parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output ); - // If we're at the max depth, and the current element still has children, loop over those and display them at this level - // This is to prevent them being orphaned to the end of the list. + /* + * If we're at the max depth, and the current element still has children, + * loop over those and display them at this level. This is to prevent them + * being orphaned to the end of the list. + */ if ( $max_depth <= $depth + 1 && isset( $children_elements[$id]) ) { foreach ( $children_elements[ $id ] as $child ) $this->display_element( $child, $children_elements, $max_depth, $depth, $args, $output ); diff --git a/wp-includes/version.php b/wp-includes/version.php index dbb48204d7..dc701dd8c7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34992'; +$wp_version = '4.4-alpha-34993'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.