Don't allow the image editor thumbnail to be dragged. see #21811.

git-svn-id: https://develop.svn.wordpress.org/trunk@27712 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2014-03-25 16:20:50 +00:00
parent 0fccb7b64d
commit fbe0b3e5ac
1 changed files with 2 additions and 1 deletions

View File

@ -161,7 +161,8 @@ function wp_image_editor($post_id, $msg = false) {
</div> </div>
<p> <p>
<img src="<?php echo $thumb['url']; ?>" width="<?php echo $thumb_img[0]; ?>" height="<?php echo $thumb_img[1]; ?>" class="imgedit-size-preview" alt="" /><br /><?php _e('Current thumbnail'); ?> <img src="<?php echo $thumb['url']; ?>" width="<?php echo $thumb_img[0]; ?>" height="<?php echo $thumb_img[1]; ?>" class="imgedit-size-preview" alt="" draggable="false" />
<br /><?php _e('Current thumbnail'); ?>
</p> </p>
<p id="imgedit-save-target-<?php echo $post_id; ?>"> <p id="imgedit-save-target-<?php echo $post_id; ?>">