Make WordPress Core

Changeset 34993


Ignore:
Timestamp:
10/09/2015 09:02:43 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Fix wrapping and syntax for a multi-comment in Walker_Comment::display_element().

See #32246.

File:
1 edited

Legend:

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

    r34992 r34993  
    133133        parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output );
    134134
    135         // If we're at the max depth, and the current element still has children, loop over those and display them at this level
    136         // This is to prevent them being orphaned to the end of the list.
     135        /*
     136         * If we're at the max depth, and the current element still has children,
     137         * loop over those and display them at this level. This is to prevent them
     138         * being orphaned to the end of the list.
     139         */
    137140        if ( $max_depth <= $depth + 1 && isset( $children_elements[$id]) ) {
    138141            foreach ( $children_elements[ $id ] as $child )
Note: See TracChangeset for help on using the changeset viewer.