diff --git a/inc/admin/upload.php b/inc/admin/upload.php index 1a4927ec0..b24249a5b 100755 --- a/inc/admin/upload.php +++ b/inc/admin/upload.php @@ -123,7 +123,9 @@ function _imagify_sort_attachments_by_status( $vars ) { ), ) ); - $vars['post_mime_type'] = imagify_get_mime_types(); + if ( ! key_exists( 'post_mime_type', $vars ) ) { + $vars['post_mime_type'] = imagify_get_mime_types(); + } return $vars; }