Changeset 42864 for trunk/src/wp-admin/options-media.php
- Timestamp:
- 03/20/2018 10:43:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-media.php
r42343 r42864 55 55 <tr> 56 56 <th scope="row"><?php _e( 'Thumbnail size' ); ?></th> 57 <td> 57 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Thumbnail size' ); ?></span></legend> 58 58 <label for="thumbnail_size_w"><?php _e( 'Width' ); ?></label> 59 59 <input name="thumbnail_size_w" type="number" step="1" min="0" id="thumbnail_size_w" value="<?php form_option( 'thumbnail_size_w' ); ?>" class="small-text" /> 60 <br /> 60 61 <label for="thumbnail_size_h"><?php _e( 'Height' ); ?></label> 61 62 <input name="thumbnail_size_h" type="number" step="1" min="0" id="thumbnail_size_h" value="<?php form_option( 'thumbnail_size_h' ); ?>" class="small-text" /> 62 <p><input name="thumbnail_crop" type="checkbox" id="thumbnail_crop" value="1" <?php checked( '1', get_option( 'thumbnail_crop' ) ); ?>/> 63 <label for="thumbnail_crop"><?php _e( 'Crop thumbnail to exact dimensions (normally thumbnails are proportional)' ); ?></label></p> 63 </fieldset> 64 <input name="thumbnail_crop" type="checkbox" id="thumbnail_crop" value="1" <?php checked( '1', get_option( 'thumbnail_crop' ) ); ?>/> 65 <label for="thumbnail_crop"><?php _e( 'Crop thumbnail to exact dimensions (normally thumbnails are proportional)' ); ?></label> 64 66 </td> 65 67 </tr>
Note: See TracChangeset
for help on using the changeset viewer.