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/rest-api/endpoints/class-wp-rest-revisions-controller.php

    r47122 r47233  
    476476         * @since 4.7.0
    477477         *
    478          * @param WP_Post|false|null $result The revision object (if it was deleted or moved to the trash successfully)
    479          *                                   or false or null (failure). If the revision was moved to the trash, $result represents
     478         * @param WP_Post|false|null $result The revision object (if it was deleted or moved to the Trash successfully)
     479         *                                   or false or null (failure). If the revision was moved to the Trash, $result represents
    480480         *                                   its new state; if it was deleted, $result represents its state before deletion.
    481481         * @param WP_REST_Request $request The request sent to the API.
Note: See TracChangeset for help on using the changeset viewer.