Make WordPress Core

Changeset 49509


Ignore:
Timestamp:
11/05/2020 06:44:48 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Fix typo in a comment in Walker::display_element().

Props david.binda, sabernhardt.
Fixes #51713.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-walker.php

    r48590 r49509  
    144144        $this->start_el( $output, $element, $depth, ...array_values( $args ) );
    145145
    146         // Descend only when the depth is right and there are childrens for this element.
     146        // Descend only when the depth is right and there are children for this element.
    147147        if ( ( 0 == $max_depth || $max_depth > $depth + 1 ) && isset( $children_elements[ $id ] ) ) {
    148148
Note: See TracChangeset for help on using the changeset viewer.