From efc2d9ed7c20fc2a964b67a98b63e097c0bf8d44 Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Thu, 11 Jan 2024 17:43:00 +0000 Subject: [PATCH] Administration: Remove invalid attribute `maxlength` on `number` input. Remove the `maxlength` attribute on screen options number of items per page input. Previously kept due to input inconsistencies in IE 11 and Edge, this invalid usage is no longer needed. IE 11 is no longer supported, and Edge now behaves according to specifications. Props Arena94, afercia, joedolson. Fixes #40610. git-svn-id: https://develop.svn.wordpress.org/trunk@57272 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-screen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-screen.php b/src/wp-admin/includes/class-wp-screen.php index 739a182ded075..67bceef060661 100644 --- a/src/wp-admin/includes/class-wp-screen.php +++ b/src/wp-admin/includes/class-wp-screen.php @@ -1279,7 +1279,7 @@ public function render_per_page_options() {