WordPress.org

Make WordPress Core

Changeset 11512


Ignore:
Timestamp:
06/03/09 16:39:39 (5 years ago)
Author:
ryan
Message:

Pass taxonomy to_tag_row() when adding tags via ajax. Props dd32. fixes #10019

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r11498 r11512  
    561561        'id' => $tag->term_id, 
    562562        'position' => '-1', 
    563         'data' => _tag_row( $tag ), 
     563        'data' => _tag_row( $tag, '', $taxonomy ), 
    564564        'supplemental' => array('name' => $tag_full_name, 'show-link' => sprintf(__( 'Tag <a href="#%s">%s</a> added' ), "tag-$tag->term_id", $tag_full_name)) 
    565565    ) ); 
Note: See TracChangeset for help on using the changeset viewer.