WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/23/2007 05:42:31 AM (15 years ago)
Author:
ryan
Message:

wp_insert_term() and wp_update_term(). see #4189

File:
1 edited

Legend:

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

    r5510 r5522  
    290290        return $id;
    291291
    292     $tag_id = add_term($tag_name, 'post_tag'); 
     292    $tag_id = wp_insert_term($tag_name, 'post_tag');   
    293293}
    294294
Note: See TracChangeset for help on using the changeset viewer.