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/comment.php

    r47219 r47233  
    13651365 * Trashes or deletes a comment.
    13661366 *
    1367  * The comment is moved to trash instead of permanently deleted unless trash is
    1368  * disabled, item is already in the trash, or $force_delete is true.
     1367 * The comment is moved to Trash instead of permanently deleted unless Trash is
     1368 * disabled, item is already in the Trash, or $force_delete is true.
    13691369 *
    13701370 * The post comment count will be updated if the comment was approved and has a
     
    13761376 *
    13771377 * @param int|WP_Comment $comment_id   Comment ID or WP_Comment object.
    1378  * @param bool           $force_delete Whether to bypass trash and force deletion. Default is false.
     1378 * @param bool           $force_delete Whether to bypass Trash and force deletion. Default is false.
    13791379 * @return bool True on success, false on failure.
    13801380 */
     
    14461446 * Moves a comment to the Trash
    14471447 *
    1448  * If trash is disabled, comment is permanently deleted.
     1448 * If Trash is disabled, comment is permanently deleted.
    14491449 *
    14501450 * @since 2.9.0
Note: See TracChangeset for help on using the changeset viewer.