WordPress.org

Make WordPress Core

Changeset 43666


Ignore:
Timestamp:
10/02/2018 07:18:58 PM (13 months ago)
Author:
pento
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-tags.php

    r43663 r43666  
    584584    printf(
    585585        /* translators: %s: default category */
    586         __( '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.' ),
     586        __( '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.' ),
    587587        /** This filter is documented in wp-includes/category-template.php */
    588588        '<strong>' . apply_filters( 'the_category', get_cat_name( get_option( 'default_category' ) ), '', '' ) . '</strong>'
Note: See TracChangeset for help on using the changeset viewer.