WordPress.org

Make WordPress Core

Changeset 6194


Ignore:
Timestamp:
10/06/2007 06:23:45 AM (11 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 )
Note: See TracChangeset for help on using the changeset viewer.