Changeset 43571 for trunk/src/wp-admin/includes/image-edit.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/image-edit.php
r42756 r43571 81 81 </div> 82 82 83 <?php if ( $can_restore ) { ?>83 <?php if ( $can_restore ) { ?> 84 84 85 85 <div class="imgedit-group"> … … 104 104 </div> 105 105 106 <?php } ?>106 <?php } ?> 107 107 108 108 <div class="imgedit-group"> … … 153 153 if ( $thumb && $sub_sizes ) { 154 154 $thumb_img = wp_constrain_dimensions( $thumb['width'], $thumb['height'], 160, 120 ); 155 ?>155 ?> 156 156 157 157 <div class="imgedit-group imgedit-applyto"> … … 204 204 ) ) { 205 205 $note_no_rotate = ''; 206 ?>206 ?> 207 207 <button type="button" class="imgedit-rleft button" onclick="imageEdit.rotate( 90, <?php echo "$post_id, '$nonce'"; ?>, this)"><span class="screen-reader-text"><?php esc_html_e( 'Rotate counter-clockwise' ); ?></span></button> 208 208 <button type="button" class="imgedit-rright button" onclick="imageEdit.rotate(-90, <?php echo "$post_id, '$nonce'"; ?>, this)"><span class="screen-reader-text"><?php esc_html_e( 'Rotate clockwise' ); ?></span></button> 209 <?php209 <?php 210 210 } else { 211 211 $note_no_rotate = '<p class="note-no-rotate"><em>' . __( 'Image rotation is not supported by your web host.' ) . '</em></p>'; 212 ?>212 ?> 213 213 <button type="button" class="imgedit-rleft button disabled" disabled></button> 214 214 <button type="button" class="imgedit-rright button disabled" disabled></button> … … 244 244 <div class="hidden" id="imgedit-leaving-<?php echo $post_id; ?>"><?php _e( "There are unsaved changes that will be lost. 'OK' to continue, 'Cancel' to return to the Image Editor." ); ?></div> 245 245 </div> 246 <?php246 <?php 247 247 } 248 248
Note: See TracChangeset
for help on using the changeset viewer.