WordPress.org

Make WordPress Core

Changeset 27712


Ignore:
Timestamp:
03/25/2014 04:20:50 PM (6 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/image-edit.php

    r27522 r27712  
    162162
    163163    <p>
    164         <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'); ?>
     164        <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" />
     165        <br /><?php _e('Current thumbnail'); ?>
    165166    </p>
    166167
Note: See TracChangeset for help on using the changeset viewer.