Make WordPress Core


Ignore:
Timestamp:
04/19/2004 06:13:26 AM (21 years ago)
Author:
saxmatt
Message:

Might fix some OPML imports but I'm pretty sure I just broke others.

File:
1 edited

Legend:

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

    r956 r1099  
    3333<div class="wrap">
    3434
    35     <h3>Import your blogroll from another system </h3>
     35    <h2>Import your blogroll from another system </h2>
    3636    <!-- <form name="blogroll" action="link-import.php" method="get"> -->
    3737    <form enctype="multipart/form-data" action="link-import.php" method="post" name="blogroll">
     
    8787<div class="wrap">
    8888
    89      <h3>Importing...</h3>
     89     <h2>Importing...</h2>
    9090<?php
    9191                $cat_id = $HTTP_POST_VARS['cat_id'];
     
    123123                        if ('http' == substr($titles[$i], 0, 4))
    124124                            $titles[$i] = '';
    125                         $query = "INSERT INTO $tablelinks (link_url, link_name, link_target, link_category, link_description, link_owner)
    126                                   VALUES('{$urls[$i]}', '".addslashes($names[$i])."', '', $cat_id, '".addslashes($descriptions[$i])."', $user_ID)\n";
     125                        $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";
    127127                        $result = $wpdb->query($query);
    128128                        echo "<p>Inserted <strong>{$names[$i]}</strong></p>";
Note: See TracChangeset for help on using the changeset viewer.