From 6768503353f1944579a02e6484f3b8782bcf5354 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 7 Apr 2006 22:28:57 +0000 Subject: [PATCH] Use default_link_category. git-svn-id: https://develop.svn.wordpress.org/trunk@3700 602fd350-edb4-49c9-b593-d223f7449a82 --- 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);