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:
parent
0fccb7b64d
commit
fbe0b3e5ac
@ -161,7 +161,8 @@ function wp_image_editor($post_id, $msg = false) {
|
||||
</div>
|
||||
|
||||
<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 id="imgedit-save-target-<?php echo $post_id; ?>">
|
||||
|
Loading…
Reference in New Issue
Block a user