mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Taxonomies: Improve description of default category behaviour.
Add some extra information to the Categories list screen, explaining why the default category doesn't have a Delete button. Props Codestor. Fixes #44961. git-svn-id: https://develop.svn.wordpress.org/trunk@43666 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2b49d4660b
commit
456e243224
@ -583,7 +583,7 @@ if ( current_user_can( $tax->cap->edit_terms ) ) {
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: default category */
|
||||
__( '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 %s.' ),
|
||||
__( '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 default category %s. The default category cannot be deleted.' ),
|
||||
/** This filter is documented in wp-includes/category-template.php */
|
||||
'<strong>' . apply_filters( 'the_category', get_cat_name( get_option( 'default_category' ) ), '', '' ) . '</strong>'
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user