Changeset 14077 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 04/13/2010 02:32:30 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r13946 r14077 1635 1635 continue; 1636 1636 1637 if ( !$term_info = is_term($term, $taxonomy) ) 1637 if ( !$term_info = is_term($term, $taxonomy) ) { 1638 // Skip if a non-existent term ID is passed. 1639 if ( is_int($term) ) 1640 continue; 1638 1641 $term_info = wp_insert_term($term, $taxonomy); 1642 } 1639 1643 if ( is_wp_error($term_info) ) 1640 1644 return $term_info;
Note: See TracChangeset
for help on using the changeset viewer.