diff --git a/wp-admin/edit-attachment-rows.php b/wp-admin/edit-attachment-rows.php index b3d2b5be46..bc62398878 100644 --- a/wp-admin/edit-attachment-rows.php +++ b/wp-admin/edit-attachment-rows.php @@ -93,12 +93,12 @@ foreach ($posts_columns as $column_name => $column_display_name ) { $actions['edit'] = '' . __('Edit') . ''; if ( current_user_can('delete_post', $post->ID) ) { if ( $is_trash ) - $actions['untrash'] = "ID) . "'>" . __('Restore') . ""; + $actions['untrash'] = "ID) . "'>" . __('Restore') . ""; elseif ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) - $actions['trash'] = "ID) . "'>" . __('Trash') . ""; + $actions['trash'] = "ID) . "'>" . __('Trash') . ""; if ( $is_trash || !EMPTY_TRASH_DAYS || !MEDIA_TRASH ) { $delete_ays = (!$is_trash && !MEDIA_TRASH) ? " onclick='return showNotice.warn();'" : ''; - $actions['delete'] = "ID) . "'>" . __('Delete Permanently') . ""; + $actions['delete'] = "ID) . "'>" . __('Delete Permanently') . ""; } } if ( !$is_trash ) { diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 422793c076..07cb7b7129 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -1258,16 +1258,16 @@ function get_media_item( $attachment_id, $args = null ) { $send = ""; if ( $delete && current_user_can( 'delete_post', $attachment_id ) ) { if ( !EMPTY_TRASH_DAYS ) { - $delete = "" . __( 'Delete Permanently' ) . ''; + $delete = "" . __( 'Delete Permanently' ) . ''; } elseif ( !MEDIA_TRASH ) { $delete = "" . __( 'Delete' ) . "
"; } else { - $delete = "" . __( 'Move to Trash' ) . " - " . __( 'Undo' ) . ""; + $delete = "" . __( 'Move to Trash' ) . " + " . __( 'Undo' ) . ""; } } else { $delete = ''; diff --git a/wp-admin/upload.php b/wp-admin/upload.php index c372c64450..08cd4cf309 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -388,10 +388,10 @@ foreach ($arc_result as $arc_row) { $actions['edit'] = '' . __('Edit') . ''; if ( current_user_can('delete_post', $post->ID) ) if ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) { - $actions['trash'] = "ID) . "'>" . __('Trash') . ""; + $actions['trash'] = "ID) . "'>" . __('Trash') . ""; } else { $delete_ays = !MEDIA_TRASH ? " onclick='return showNotice.warn();'" : ''; - $actions['delete'] = "ID) . "'>" . __('Delete Permanently') . ""; + $actions['delete'] = "ID) . "'>" . __('Delete Permanently') . ""; } $actions['view'] = '' . __('View') . ''; if ( current_user_can('edit_post', $post->ID) )