From 9ad10730c00e87a37c917a855a2f6a0c5d035622 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 21 Nov 2012 12:03:35 +0000 Subject: [PATCH] Non-images don't have alternative text. props helenyhou. see #21391. git-svn-id: http://core.svn.wordpress.org/trunk@22748 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/media.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index c1933335d4..5944c9f9b1 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -2280,13 +2280,14 @@ function edit_form_image_editor() {

+ post_mime_type, 0, 5 ) ) : ?>