diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index 5e18f508c1..ea0cf75401 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -238,10 +238,12 @@ textarea[readonly] { color: #72777c; } -.form-invalid input, -.form-invalid input:focus, -.form-invalid select, -.form-invalid select:focus { +.form-invalid .form-required, +.form-invalid .form-required:focus, +.form-invalid.form-required input, +.form-invalid.form-required input:focus, +.form-invalid.form-required select, +.form-invalid.form-required select:focus { border-color: #dc3232 !important; box-shadow: 0 0 2px rgba(204, 0, 0, 0.8); } diff --git a/src/wp-admin/includes/nav-menu.php b/src/wp-admin/includes/nav-menu.php index 90ab82ce5f..f68f28511e 100644 --- a/src/wp-admin/includes/nav-menu.php +++ b/src/wp-admin/includes/nav-menu.php @@ -299,7 +299,7 @@ function wp_nav_menu_item_link_meta_box() {
'; /* translators: 1: Month, 2: Day, 3: Year, 4: Hour, 5: Minute. */ diff --git a/src/wp-admin/nav-menus.php b/src/wp-admin/nav-menus.php index adad318ee3..f224964553 100644 --- a/src/wp-admin/nav-menus.php +++ b/src/wp-admin/nav-menus.php @@ -961,7 +961,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';