Skip to content

Commit d3474a5

Browse files
committed
Administration: Widen screen options number of items field.
Modifies the Screen Options > Number of items per page field to avoid cropping of three digit numbers when setting a list view to display a lot of items. Props apermo, audrasjb, darshitrajyaguru97, ekla, gaurangsondagar, jigarkahar, juanmaguitar, khushdoms, peterwilsoncc, sabernhardt, shailu25, shatrumyatra, yusufmudagal. Fixes #65104. git-svn-id: https://develop.svn.wordpress.org/trunk@62268 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 7ce1094 commit d3474a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-admin/includes/class-wp-screen.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ public function render_per_page_options() {
12801280
<legend><?php _e( 'Pagination' ); ?></legend>
12811281
<?php if ( $per_page_label ) : ?>
12821282
<label for="<?php echo esc_attr( $option ); ?>"><?php echo $per_page_label; ?></label>
1283-
<input type="number" step="1" min="1" max="999" class="screen-per-page" name="wp_screen_options[value]"
1283+
<input type="number" step="1" min="1" max="999" class="screen-per-page small-text" name="wp_screen_options[value]"
12841284
id="<?php echo esc_attr( $option ); ?>"
12851285
value="<?php echo esc_attr( $per_page ); ?>" />
12861286
<?php endif; ?>

0 commit comments

Comments
 (0)