From d7af48d4217e3093251be4002a7b46acbaa0b002 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Fri, 10 Nov 2017 01:27:30 +0000 Subject: [PATCH] Widgets: Style the Image Widget's link field as invalid when a bad URL is supplied. Fixes issue where user may supply an invalid URL and be unable to save the widget on the Widgets admin screen without being told why. Amends [41252]. See #41274. Fixes #42488. git-svn-id: https://develop.svn.wordpress.org/trunk@42140 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/widgets.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/css/widgets.css b/src/wp-admin/css/widgets.css index 9576be2fc6..976ab9ba17 100644 --- a/src/wp-admin/css/widgets.css +++ b/src/wp-admin/css/widgets.css @@ -154,7 +154,8 @@ top: 30px; } -.media-frame #embed-url-field.invalid { +.media-frame #embed-url-field.invalid, +.media-widget-image-link > .link:invalid { border: 1px solid #dc3232; }