From dc673fbccd98c7f4a657aaa7884f5b892aade71e Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 8 Dec 2010 19:44:48 +0000 Subject: [PATCH] Fix media form error display. Props andyblackwell. fixes #13810 git-svn-id: https://develop.svn.wordpress.org/trunk@16812 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/media.php b/wp-admin/media.php index b26851282d..b70b38a207 100644 --- a/wp-admin/media.php +++ b/wp-admin/media.php @@ -106,7 +106,7 @@ case 'edit' :
- false, 'send' => false, 'delete' => false, 'show_title' => false, 'errors' => $errors ) ); ?> + false, 'send' => false, 'delete' => false, 'show_title' => false, 'errors' => !empty($errors[$att_id]) ? $errors[$att_id] : null ) ); ?>