diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php
index 9323bd9..9ee4282 100644
a
|
b
|
function wp_insert_term( $term, $taxonomy, $args = array() ) { |
2968 | 2968 | * |
2969 | 2969 | * @global wpdb $wpdb The WordPress database abstraction object. |
2970 | 2970 | * |
2971 | | * @param int $object_id The object to relate to. |
2972 | | * @param array|int|string $terms A single term slug, single term id, or array of either term slugs or ids. |
2973 | | * Will replace all existing related terms in this taxonomy. |
2974 | | * @param string $taxonomy The context in which to relate the term to the object. |
2975 | | * @param bool $append Optional. If false will delete difference of terms. Default false. |
| 2971 | * @param int $object_id The object to relate to. |
| 2972 | * @param mixed $terms A single term slug, single term id, or array of either term slugs or ids. |
| 2973 | * Will replace all existing related terms in this taxonomy. An empty value will remove all related terms. |
| 2974 | * @param string $taxonomy The context in which to relate the term to the object. |
| 2975 | * @param bool $append Optional. If false will delete difference of terms. Default false. |
2976 | 2976 | * @return array|WP_Error Term taxonomy IDs of the affected terms. |
2977 | 2977 | */ |
2978 | 2978 | function wp_set_object_terms( $object_id, $terms, $taxonomy, $append = false ) { |