diff --git a/wp-admin/admin.php b/wp-admin/admin.php
index 287027f4f6..8f0e761255 100644
--- a/wp-admin/admin.php
+++ b/wp-admin/admin.php
@@ -93,7 +93,7 @@ require_once ABSPATH . 'wp-admin/includes/admin.php';
auth_redirect();
-// Schedule trash collection.
+// Schedule Trash collection.
if ( ! wp_next_scheduled( 'wp_scheduled_delete' ) && ! wp_installing() ) {
wp_schedule_event( time(), 'daily', 'wp_scheduled_delete' );
}
diff --git a/wp-admin/edit.php b/wp-admin/edit.php
index b6ea9e8d94..1fb89e1e95 100644
--- a/wp-admin/edit.php
+++ b/wp-admin/edit.php
@@ -81,7 +81,7 @@ if ( $doaction ) {
}
if ( 'delete_all' === $doaction ) {
- // Prepare for deletion of all posts with a specified post status (i.e. Empty trash).
+ // Prepare for deletion of all posts with a specified post status (i.e. Empty Trash).
$post_status = preg_replace( '/[^a-z0-9_-]+/i', '', $_REQUEST['post_status'] );
// Validate the post status exists.
if ( get_post_status_object( $post_status ) ) {
@@ -256,7 +256,7 @@ if ( 'post' === $post_type ) {
'
' .
'
' . __( 'Edit takes you to the editing screen for that post. You can also reach that screen by clicking on the post title.' ) . '
' .
'
' . __( 'Quick Edit provides inline access to the metadata of your post, allowing you to update post details without leaving this screen.' ) . '
' .
- '
' . __( 'Trash removes your post from this list and places it in the trash, from which you can permanently delete it.' ) . '
' .
+ '
' . __( 'Trash removes your post from this list and places it in the Trash, from which you can permanently delete it.' ) . '
' .
'
' . __( 'Preview will show you what your draft post will look like if you publish it. View will take you to your live site to view the post. Which link is available depends on your post’s status.' ) . '
' . __( 'You can also edit or move multiple posts to the trash at once. Select the posts you want to act on using the checkboxes, then select the action you want to take from the Bulk Actions menu and click Apply.' ) . '
' .
+ '
' . __( 'You can also edit or move multiple posts to the Trash at once. Select the posts you want to act on using the checkboxes, then select the action you want to take from the Bulk Actions menu and click Apply.' ) . '
' .
'
' . __( 'When using Bulk Edit, you can change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the x next to its name in the Bulk Edit area that appears.' ) . '
',
)
);
diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php
index aa68c95f59..3eb27a324c 100644
--- a/wp-admin/includes/ajax-actions.php
+++ b/wp-admin/includes/ajax-actions.php
@@ -716,7 +716,7 @@ function wp_ajax_delete_comment() {
$r = wp_untrash_comment( $comment );
- // Undo trash, not in trash.
+ // Undo trash, not in Trash.
if ( ! isset( $_POST['comment_status'] ) || 'trash' !== $_POST['comment_status'] ) {
$delta = 1;
}
@@ -861,7 +861,7 @@ function wp_ajax_delete_post( $action ) {
}
/**
- * Ajax handler for sending a post to the trash.
+ * Ajax handler for sending a post to the Trash.
*
* @since 3.1.0
*
@@ -897,7 +897,7 @@ function wp_ajax_trash_post( $action ) {
}
/**
- * Ajax handler to restore a post from the trash.
+ * Ajax handler to restore a post from the Trash.
*
* @since 3.1.0
*
diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php
index d36cce08fe..5587e8ecf4 100644
--- a/wp-admin/includes/class-wp-posts-list-table.php
+++ b/wp-admin/includes/class-wp-posts-list-table.php
@@ -493,7 +493,7 @@ class WP_Posts_List_Table extends WP_List_Table {
/*
* Return if the post type doesn't have post formats, or there are no posts using formats,
- * or if we're in the trash.
+ * or if we're in the Trash.
*/
if ( ! is_object_in_taxonomy( $post_type, 'post_format' ) || ! $used_post_formats || $this->is_trash ) {
return;
diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php
index 5cf9246a67..a6f74722cf 100644
--- a/wp-admin/includes/template.php
+++ b/wp-admin/includes/template.php
@@ -525,7 +525,7 @@ function wp_comment_reply( $position = 1, $checkbox = false, $mode = 'single', $
}
/**
- * Output 'undo move to trash' text for comments
+ * Output 'undo move to Trash' text for comments
*
* @since 2.9.0
*/
@@ -535,7 +535,7 @@ function wp_comment_trashnotice() {
' );
+ printf( __( 'Comment by %s moved to the Trash.' ), '' );
?>
diff --git a/wp-admin/js/customize-widgets.js b/wp-admin/js/customize-widgets.js
index 8738c13b73..4c91944b5d 100644
--- a/wp-admin/js/customize-widgets.js
+++ b/wp-admin/js/customize-widgets.js
@@ -1864,7 +1864,7 @@
removedControl.container.remove();
}
- // Move widget to inactive widgets sidebar (move it to trash) if has been previously saved.
+ // Move widget to inactive widgets sidebar (move it to Trash) if has been previously saved.
// This prevents the inactive widgets sidebar from overflowing with throwaway widgets.
if ( api.Widgets.savedWidgetIds[removedWidgetId] ) {
inactiveWidgets = api.value( 'sidebars_widgets[wp_inactive_widgets]' )().slice();
diff --git a/wp-admin/js/edit-comments.js b/wp-admin/js/edit-comments.js
index 1a64268b6a..88004e913d 100644
--- a/wp-admin/js/edit-comments.js
+++ b/wp-admin/js/edit-comments.js
@@ -538,7 +538,7 @@ window.setCommentsList = function() {
// The comment is currently pending.
} else if ( unapproved ) {
pendingDiff = -1;
- // The comment was in the trash.
+ // The comment was in the Trash.
} else if ( trashed ) {
trashDiff = -1;
}
diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php
index 8a76460a95..e80105eadb 100644
--- a/wp-admin/options-discussion.php
+++ b/wp-admin/options-discussion.php
@@ -206,7 +206,7 @@ printf(