Make WordPress Core

Changeset 13010


Ignore:
Timestamp:
02/07/2010 06:51:05 AM (17 years ago)
Author:
dd32
Message:

$term is an array not object, Fixes Notice on duplicate term checking. See #11838

File:
1 edited

Legend:

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

    r12881 r13010  
    17441744                // If an empty slug was passed or the parent changed, reset the slug to something unique.
    17451745                // Otherwise, bail.
    1746                 if ( $empty_slug || ( $parent != $term->parent) )
     1746                if ( $empty_slug || ( $parent != $term['parent']) )
    17471747                        $slug = wp_unique_term_slug($slug, (object) $args);
    17481748                else
Note: See TracChangeset for help on using the changeset viewer.