From 42b6ece05920be90fc3bb155827f95e85fd6bb46 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 5 Nov 2020 18:46:10 +0000 Subject: [PATCH] Docs: Fix typo in a comment in `Walker::display_element()`. Props david.binda, sabernhardt. Fixes #51713. Built from https://develop.svn.wordpress.org/trunk@49509 git-svn-id: http://core.svn.wordpress.org/trunk@49264 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-walker.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-walker.php b/wp-includes/class-wp-walker.php index 1a093cdd46..13c0b23429 100644 --- a/wp-includes/class-wp-walker.php +++ b/wp-includes/class-wp-walker.php @@ -143,7 +143,7 @@ class Walker { $this->start_el( $output, $element, $depth, ...array_values( $args ) ); - // Descend only when the depth is right and there are childrens for this element. + // Descend only when the depth is right and there are children for this element. if ( ( 0 == $max_depth || $max_depth > $depth + 1 ) && isset( $children_elements[ $id ] ) ) { foreach ( $children_elements[ $id ] as $child ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 4d0f06b94b..e732210c4e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-beta3-49508'; +$wp_version = '5.6-beta3-49509'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.