Make WordPress Core


Ignore:
Timestamp:
02/10/2020 04:10:09 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Administration: Capitalize Trash consistently in various messages and comments.

When used as a noun referring to the "virtual" place, Trash should be capitalized.

Props garrett-eclipse, aandrewdixon, Presskopp.
Fixes #45317.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-post-type.php

    r47122 r47233  
    251251     * Whether to delete posts of this type when deleting a user.
    252252     *
    253      * If true, posts of this type belonging to the user will be moved to trash when then user is deleted.
     253     * If true, posts of this type belonging to the user will be moved to Trash when then user is deleted.
    254254     * If false, posts of this type belonging to the user will *not* be trashed or deleted.
    255255     * If not set (the default), posts are trashed if post_type_supports( 'author' ).
Note: See TracChangeset for help on using the changeset viewer.