Make WordPress Core


Ignore:
Timestamp:
10/26/2013 07:00:57 PM (13 years ago)
Author:
nacin
Message:

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

Merges [25933] to the 3.7 branch.

This was a 3.7 regression caused by [25162].

props dd32.
fixes #25710.

Location:
branches/3.7
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.7

  • branches/3.7/src

  • branches/3.7/src/wp-includes/taxonomy.php

    r25596 r25936  
    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.