mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Docs: Fix typo in a comment in Walker::display_element().
Props david.binda, sabernhardt. Fixes #51713. git-svn-id: https://develop.svn.wordpress.org/trunk@49509 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
31af0afd4f
commit
b4a488b650
@ -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 ) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user