From 41ebe38cb4f8951d4ef24d6ed255153be22db4f6 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 7 Apr 2006 22:28:57 +0000 Subject: [PATCH] Use default_link_category. git-svn-id: http://svn.automattic.com/wordpress/trunk@3700 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-db.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/admin-db.php b/wp-admin/admin-db.php index 412a2f04b0..41131a4934 100644 --- a/wp-admin/admin-db.php +++ b/wp-admin/admin-db.php @@ -317,7 +317,7 @@ function wp_insert_link($linkdata) { // Make sure we set a valid category if (0 == count($link_category) || !is_array($link_category)) { - $link_category = array(get_option('default_category')); + $link_category = array(get_option('default_link_category')); } if ( $update ) { @@ -404,7 +404,7 @@ function wp_set_link_cats($link_ID = 0, $link_categories = array()) { global $wpdb; // If $link_categories isn't already an array, make it one: if (!is_array($link_categories) || 0 == count($link_categories)) - $link_categories = array(get_option('default_category')); + $link_categories = array(get_option('default_link_category')); $link_categories = array_unique($link_categories);