diff --git a/src/wp-admin/includes/class-wp-media-list-table.php b/src/wp-admin/includes/class-wp-media-list-table.php
index 00d0ece249..0e75f59f55 100644
--- a/src/wp-admin/includes/class-wp-media-list-table.php
+++ b/src/wp-admin/includes/class-wp-media-list-table.php
@@ -121,8 +121,15 @@ class WP_Media_List_Table extends WP_List_Table {
$label[0]
);
}
+
$type_links['detached'] = '';
+ $type_links['mine'] = sprintf(
+ '',
+ selected( 'mine' === $filter, true, false ),
+ _x( 'Mine', 'media items' )
+ );
+
if ( $this->is_trash || ( defined( 'MEDIA_TRASH' ) && MEDIA_TRASH ) ) {
$type_links['trash'] = sprintf(
'',
@@ -131,12 +138,6 @@ class WP_Media_List_Table extends WP_List_Table {
);
}
- $type_links['mine'] = sprintf(
- '',
- selected( 'mine' === $filter, true, false ),
- _x( 'Mine', 'media items' )
- );
-
return $type_links;
}