Make WordPress Core


Ignore:
Timestamp:
03/21/2008 06:11:47 PM (18 years ago)
Author:
ryan
Message:

Fix parens in walker. Props hailin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r7431 r7454  
    504504
    505505                                $child = $children_elements[$i];
    506                                 if ($root->$parent_field == $child->$parent_field )
     506                                if ($root->$parent_field == $child->$parent_field ) {
    507507                                        $top_level_elements[] = $child;
    508508                                        array_splice( $children_elements, $i, 1 );
    509509                                        $i--;
     510                                }
    510511                        }
    511512                }
Note: See TracChangeset for help on using the changeset viewer.