Make WordPress Core

Changeset 13321


Ignore:
Timestamp:
02/23/2010 02:37:19 AM (15 years ago)
Author:
wpmuguru
Message:

fix debug notice in wp_set_object_terms(), props jeremyclarke, fixes #12344

File:
1 edited

Legend:

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

    r13289 r13321  
    15921592    if ( ! $append )
    15931593        $old_tt_ids =  wp_get_object_terms($object_id, $taxonomy, array('fields' => 'tt_ids', 'orderby' => 'none'));
     1594    else
     1595        $old_tt_ids = array();
    15941596
    15951597    $tt_ids = array();
Note: See TracChangeset for help on using the changeset viewer.