diff options
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/_enqueues/admin/edit-comments.js | 2 | ||||
-rw-r--r-- | src/js/_enqueues/wp/customize/widgets.js | 2 | ||||
-rw-r--r-- | src/js/media/views/attachment/details.js | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/js/_enqueues/admin/edit-comments.js b/src/js/_enqueues/admin/edit-comments.js index 1a64268b6a..88004e913d 100644 --- a/src/js/_enqueues/admin/edit-comments.js +++ b/src/js/_enqueues/admin/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/src/js/_enqueues/wp/customize/widgets.js b/src/js/_enqueues/wp/customize/widgets.js index 8738c13b73..4c91944b5d 100644 --- a/src/js/_enqueues/wp/customize/widgets.js +++ b/src/js/_enqueues/wp/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/src/js/media/views/attachment/details.js b/src/js/media/views/attachment/details.js index b406818683..b9cf51445e 100644 --- a/src/js/media/views/attachment/details.js +++ b/src/js/media/views/attachment/details.js @@ -120,7 +120,7 @@ Details = Attachment.extend(/** @lends wp.media.view.Attachment.Details.prototyp }, /** - * Sets the trash state on an attachment, or destroys the model itself. + * Sets the Trash state on an attachment, or destroys the model itself. * * If the mediaTrash setting is set to true, trashes the attachment. * Otherwise, the model itself is destroyed. @@ -138,7 +138,7 @@ Details = Attachment.extend(/** @lends wp.media.view.Attachment.Details.prototyp this.getFocusableElements(); - // When in the Media Library and the Media trash is enabled. + // When in the Media Library and the Media Trash is enabled. if ( wp.media.view.settings.mediaTrash && 'edit-metadata' === this.controller.content.mode() ) { |