%s category: this is the default one"), $cat_name)); if ( $cat_ID == get_option('default_link_category') ) die(sprintf(__("Can't delete the %s category: this is the default one for bookmarks"), $cat_name)); wp_delete_category($cat_ID); header('Location: categories.php?message=2'); break; case 'edit': require_once ('admin-header.php'); $cat_ID = (int) $_GET['cat_ID']; $category = get_category_to_edit($cat_ID); ?>
Note:
Deleting a category does not delete the posts and bookmarks in that category. Instead, posts in the deleted category are set to the category %s and bookmarks are set to %s.'), get_catname(get_option('default_category')), get_catname(get_option('default_link_category'))) ?>