Make WordPress Core

Ticket #65685: 65685.patch

File 65685.patch, 729 bytes (added by nilambar, 2 months ago)
  • src/wp-admin/includes/image-edit.php

     
    151151                                                        <label for="imgedit-scale-width-<?php echo $post_id; ?>" class="screen-reader-text">
    152152                                                        <?php
    153153                                                        /* translators: Hidden accessibility text. */
    154                                                         _e( 'scale height' );
     154                                                        _e( 'scale width' );
    155155                                                        ?>
    156156                                                        </label>
    157157                                                        <input type="number" step="1" min="0" max="<?php echo $meta['width'] ?? ''; ?>" aria-describedby="imgedit-scale-warn-<?php echo $post_id; ?>"  id="imgedit-scale-width-<?php echo $post_id; ?>" onkeyup="imageEdit.scaleChanged(<?php echo $post_id; ?>, 1, this)" onblur="imageEdit.scaleChanged(<?php echo $post_id; ?>, 1, this)" value="<?php echo $meta['width'] ?? 0; ?>" />