diff --git a/wp-admin/link-categories.php b/wp-admin/link-categories.php index d2b2ff1e54..3b10cda1e8 100644 --- a/wp-admin/link-categories.php +++ b/wp-admin/link-categories.php @@ -1,8 +1,8 @@ $cat_name link category: this is the default one"); + die(sprintf(__("Can't delete the %s link category: this is the default one"), $cat_name)); if ($user_level < get_settings('links_minadminlevel')) - die ("Cheatin' uh ?"); + die (__("Cheatin' uh ?")); $wpdb->query("DELETE FROM $tablelinkcategories WHERE cat_id='$cat_id'"); $wpdb->query("UPDATE $tablelinks SET link_category=1 WHERE link_category='$cat_id'"); @@ -115,10 +115,10 @@ switch ($action) { ?>
Name | -ID | -Toggle? | -Show | -Sort Order | -Desc? | -Formatting | -Limit | ++ | + | + | + | + | + | + | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Images | -Desc. | -Rating | -Updated | -Before | -Between | -After | ++ | + | + | + | + | + | text_after_link)?> | text_after_all)?> | list_limit?> | -Edit | -Delete | ++ | ');" class="delete"> |
These are the defaults for when you call a link category with no additional arguments. All of these settings may be overwritten.
+Deleting a link category does not delete links from that category.
- It will
- just set them back to the default category .
+