Make WordPress Core


Ignore:
Timestamp:
04/07/2006 10:28:57 PM (19 years ago)
Author:
ryan
Message:

Use default_link_category.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-db.php

    r3660 r3700  
    318318    // Make sure we set a valid category
    319319    if (0 == count($link_category) || !is_array($link_category)) {
    320         $link_category = array(get_option('default_category'));
     320        $link_category = array(get_option('default_link_category'));
    321321    }
    322322
     
    405405    // If $link_categories isn't already an array, make it one:
    406406    if (!is_array($link_categories) || 0 == count($link_categories))
    407         $link_categories = array(get_option('default_category'));
     407        $link_categories = array(get_option('default_link_category'));
    408408
    409409    $link_categories = array_unique($link_categories);
Note: See TracChangeset for help on using the changeset viewer.