Ticket #13871: dotclear-importer.php.diff
| File dotclear-importer.php.diff, 516 bytes (added by , 16 years ago) |
|---|
-
dotclear-importer.php
451 451 extract($link); 452 452 453 453 if ($title != "") { 454 if ($cinfo = is_term(csc ($title), 'link_category')) {454 if ($cinfo = term_exists(csc ($title), 'link_category')) { 455 455 $category = $cinfo['term_id']; 456 456 } else { 457 457 $category = wp_insert_term($wpdb->escape (csc ($title)), 'link_category');