Make WordPress Core


Ignore:
Timestamp:
11/22/2009 10:33:45 PM (15 years ago)
Author:
westi
Message:

Pass the old term_taxonomy ids to the action in set_object_terms so plugins know what was before. Fixes #10962 props simonwheatley.

File:
1 edited

Legend:

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

    r12243 r12261  
    15191519    }
    15201520
    1521     do_action('set_object_terms', $object_id, $terms, $tt_ids, $taxonomy, $append);
     1521    do_action('set_object_terms', $object_id, $terms, $tt_ids, $taxonomy, $append, $old_tt_ids);
    15221522    return $tt_ids;
    15231523}
Note: See TracChangeset for help on using the changeset viewer.