WordPress.org

Make WordPress Core

Changeset 42140


Ignore:
Timestamp:
11/10/2017 01:27:30 AM (22 months ago)
Author:
westonruter
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/widgets.css

    r41834 r42140  
    155155}
    156156
    157 .media-frame #embed-url-field.invalid {
     157.media-frame #embed-url-field.invalid,
     158.media-widget-image-link > .link:invalid {
    158159    border: 1px solid #dc3232;
    159160}
Note: See TracChangeset for help on using the changeset viewer.