WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r34121 r36044  
    216216        $children_elements  = array();
    217217        foreach ( $elements as $e) {
    218             if ( 0 == $e->$parent_field )
     218            if ( empty( $e->$parent_field ) )
    219219                $top_level_elements[] = $e;
    220220            else
Note: See TracChangeset for help on using the changeset viewer.