Changeset 1355 for trunk/wp-admin/link-import.php
- Timestamp:
- 05/24/2004 08:22:18 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-import.php
r1182 r1355 59 59 <?php _e('Category:') ?> <?php echo gethelp_link($this_file,'link_category');?><select name="cat_id"> 60 60 <?php 61 $categories = $wpdb->get_results("SELECT cat_id, cat_name, auto_toggle FROM $ tablelinkcategories ORDER BY cat_id");61 $categories = $wpdb->get_results("SELECT cat_id, cat_name, auto_toggle FROM $wpdb->linkcategories ORDER BY cat_id"); 62 62 foreach ($categories as $category) { 63 63 ?> … … 123 123 if ('http' == substr($titles[$i], 0, 4)) 124 124 $titles[$i] = ''; 125 $query = "INSERT INTO $ tablelinks (link_url, link_name, link_target, link_category, link_description, link_owner, link_rss)125 $query = "INSERT INTO $wpdb->links (link_url, link_name, link_target, link_category, link_description, link_owner, link_rss) 126 126 VALUES('{$urls[$i]}', '".addslashes($names[$i])."', '', $cat_id, '".addslashes($descriptions[$i])."', $user_ID, '{$feeds[$i]}')\n"; 127 127 $result = $wpdb->query($query);
Note: See TracChangeset
for help on using the changeset viewer.