Changeset 4658 for trunk/wp-admin/categories.php
- Timestamp:
- 12/21/2006 11:06:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/categories.php
r4499 r4658 35 35 // Don't delete the default cats. 36 36 if ( $cat_ID == get_option('default_category') ) 37 wp_die(sprintf(__("Can 't delete the <strong>%s</strong> category: this is the default one"), $cat_name));37 wp_die(sprintf(__("Can&8217;t delete the <strong>%s</strong> category: this is the default one"), $cat_name)); 38 38 39 39 if ( $cat_ID == get_option('default_link_category') ) 40 wp_die(sprintf(__("Can 't delete the <strong>%s</strong> category: this is the default one for links"), $cat_name));40 wp_die(sprintf(__("Can&8217;t delete the <strong>%s</strong> category: this is the default one for links"), $cat_name)); 41 41 42 42 wp_delete_category($cat_ID);
Note: See TracChangeset
for help on using the changeset viewer.