Changeset 10972
- Timestamp:
- 04/17/2009 01:11:31 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/categories.php
r10943 r10972 41 41 wp_die(__('Cheatin’ uh?')); 42 42 43 $cat_name = get_cat name($cat_ID);43 $cat_name = get_cat_name($cat_ID); 44 44 45 45 // Don't delete the default cats. … … 61 61 62 62 foreach ( (array) $_GET['delete'] as $cat_ID ) { 63 $cat_name = get_cat name($cat_ID);63 $cat_name = get_cat_name($cat_ID); 64 64 65 65 // Don't delete the default cats. … … 235 235 236 236 <div class="form-wrap"> 237 <p><?php printf(__('<strong>Note:</strong><br />Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the category <strong>%s</strong>.'), apply_filters('the_category', get_cat name(get_option('default_category')))) ?></p>237 <p><?php printf(__('<strong>Note:</strong><br />Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the category <strong>%s</strong>.'), apply_filters('the_category', get_cat_name(get_option('default_category')))) ?></p> 238 238 <p><?php printf(__('Categories can be selectively converted to tags using the <a href="%s">category to tag converter</a>.'), 'admin.php?import=wp-cat2tag') ?></p> 239 239 </div> -
trunk/wp-includes/functions.php
r10958 r10972 2245 2245 2246 2246 $trans['add']['category'] = array( __( 'Your attempt to add this category has failed.' ), false ); 2247 $trans['delete']['category'] = array( __( 'Your attempt to delete this category: "%s" has failed.' ), 'get_cat name' );2248 $trans['update']['category'] = array( __( 'Your attempt to edit this category: "%s" has failed.' ), 'get_cat name' );2247 $trans['delete']['category'] = array( __( 'Your attempt to delete this category: "%s" has failed.' ), 'get_cat_name' ); 2248 $trans['update']['category'] = array( __( 'Your attempt to edit this category: "%s" has failed.' ), 'get_cat_name' ); 2249 2249 2250 2250 $trans['delete']['comment'] = array( __( 'Your attempt to delete this comment: "%s" has failed.' ), 'use_id' );
Note: See TracChangeset
for help on using the changeset viewer.