Changeset 3985 for trunk/wp-admin/categories.php
- Timestamp:
- 07/05/2006 10:00:03 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/categories.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/categories.php
r3946 r3985 32 32 // Don't delete the default cats. 33 33 if ( $cat_ID == get_option('default_category') ) 34 die(sprintf(__("Can't delete the <strong>%s</strong> category: this is the default one"), $cat_name));34 wp_die(sprintf(__("Can't delete the <strong>%s</strong> category: this is the default one"), $cat_name)); 35 35 36 36 if ( $cat_ID == get_option('default_link_category') ) 37 die(sprintf(__("Can't delete the <strong>%s</strong> category: this is the default one for bookmarks"), $cat_name));37 wp_die(sprintf(__("Can't delete the <strong>%s</strong> category: this is the default one for bookmarks"), $cat_name)); 38 38 39 39 wp_delete_category($cat_ID);
Note:
See TracChangeset
for help on using the changeset viewer.