Changeset 6194

Show
Ignore:
Timestamp:
10/06/07 06:23:45 (1 year ago)
Author:
westi
Message:

Ensure we have the default category id. Fixes #5150 for branches/2.3

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.3/wp-admin/includes/template.php

    r6184 r6194  
    3939        $edit = "<a href='categories.php?action=edit&amp;cat_ID=$category->term_id' class='edit'>".__( 'Edit' )."</a></td>"; 
    4040        $default_cat_id = (int) get_option( 'default_category' ); 
     41        $default_link_cat_id = (int) get_option( 'default_link_category' ); 
    4142 
    4243        if ( $category->term_id != $default_cat_id )