From 7955b982b3182b4d7c197986d925962d0ee9c045 Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Fri, 7 Sep 2012 22:09:40 +0000 Subject: [PATCH] Prevent img elements in the media modal from being draggable. see #21390. Browsers natively support dragging img elements, which would then set off the drop zone in the modal. We disable this by setting the draggable attribute to false. git-svn-id: https://develop.svn.wordpress.org/trunk@21785 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/media.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index 9f6df8db48..fbdd6d2e8e 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1649,7 +1649,7 @@ function wp_print_media_templates( $attachment ) {