Make WordPress Core

Changeset 25933 for trunk/src


Ignore:
Timestamp:
10/26/2013 03:03:10 PM (12 years ago)
Author:
nacin
Message:

Fix the exclude_tree argument in get_terms(), which fixes the exclude argument in wp_list_categories().

This was a 3.7 regression caused by [25162].

props dd32.
see #25710 for trunk.

File:
1 edited

Legend:

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

    r25596 r25933  
    13631363    if ( ! empty( $exclude_tree ) ) {
    13641364        $exclude_tree = wp_parse_id_list( $exclude_tree );
    1365         $excluded_children = array();
     1365        $excluded_children = $exclude_tree;
    13661366        foreach ( $exclude_tree as $extrunk ) {
    13671367            $excluded_children = array_merge(
Note: See TracChangeset for help on using the changeset viewer.