WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/10/2020 04:10:09 AM (13 months 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/link-template.php

    r47219 r47233  
    14491449 * @param int|WP_Post $id           Optional. Post ID or post object. Default is the global `$post`.
    14501450 * @param string      $deprecated   Not used.
    1451  * @param bool        $force_delete Optional. Whether to bypass trash and force deletion. Default false.
     1451 * @param bool        $force_delete Optional. Whether to bypass Trash and force deletion. Default false.
    14521452 * @return string|void The delete post link URL for the given post.
    14531453 */
     
    14821482     * @param string $link         The delete link.
    14831483     * @param int    $post_id      Post ID.
    1484      * @param bool   $force_delete Whether to bypass the trash and force deletion. Default false.
     1484     * @param bool   $force_delete Whether to bypass the Trash and force deletion. Default false.
    14851485     */
    14861486    return apply_filters( 'get_delete_post_link', wp_nonce_url( $delete_link, "$action-post_{$post->ID}" ), $post->ID, $force_delete );
Note: See TracChangeset for help on using the changeset viewer.