Make WordPress Core


Ignore:
Timestamp:
04/20/2004 10:01:15 PM (21 years ago)
Author:
mikelittle
Message:

Import more OPML formats.
Fixed bug capturing rss feed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/link-import.php

    r1099 r1107  
    124124                            $titles[$i] = '';
    125125                        $query = "INSERT INTO $tablelinks (link_url, link_name, link_target, link_category, link_description, link_owner, link_rss)
    126                                   VALUES('{$urls[$i]}', '".addslashes($names[$i])."', '', $cat_id, '".addslashes($descriptions[$i])."', $user_ID, {$feeds[$i]})\n";
     126                                VALUES('{$urls[$i]}', '".addslashes($names[$i])."', '', $cat_id, '".addslashes($descriptions[$i])."', $user_ID, '{$feeds[$i]}')\n";
    127127                        $result = $wpdb->query($query);
    128128                        echo "<p>Inserted <strong>{$names[$i]}</strong></p>";
Note: See TracChangeset for help on using the changeset viewer.