Changeset 58214
- Timestamp:
- 05/27/2024 06:01:56 PM (4 months ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/media.css
r58146 r58214 902 902 903 903 .imgedit-settings { 904 max-width: 400px; /* Prevent reflow when help info is expanded. */904 max-width: 240px; /* Prevent reflow when help info is expanded. */ 905 905 } 906 906 -
trunk/src/wp-admin/includes/image-edit.php
r57524 r58214 160 160 <input type="number" step="1" min="0" max="<?php echo isset( $meta['height'] ) ? $meta['height'] : ''; ?>" aria-describedby="imgedit-scale-warn-<?php echo $post_id; ?>" id="imgedit-scale-height-<?php echo $post_id; ?>" onkeyup="imageEdit.scaleChanged(<?php echo $post_id; ?>, 0, this)" onblur="imageEdit.scaleChanged(<?php echo $post_id; ?>, 0, this)" value="<?php echo isset( $meta['height'] ) ? $meta['height'] : 0; ?>" /> 161 161 <button id="imgedit-scale-button" type="button" onclick="imageEdit.action(<?php echo "$post_id, '$nonce'"; ?>, 'scale')" class="button button-primary"><?php esc_html_e( 'Scale' ); ?></button> 162 </div> 162 163 <span class="imgedit-scale-warn" id="imgedit-scale-warn-<?php echo $post_id; ?>"><span class="dashicons dashicons-warning" aria-hidden="true"></span><?php esc_html_e( 'Images cannot be scaled to a size larger than the original.' ); ?></span> 163 </div>164 164 </fieldset> 165 165 </div>
Note: See TracChangeset
for help on using the changeset viewer.