Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#42488 closed defect (bug)

Link field in Image Widget does not report invalidity — at Version 2

Reported by: westonruter Owned by:
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.9
Component: Widgets Keywords: has-patch has-screenshots dev-reviewed commit
Focuses: Cc:

Description (last modified by westonruter)

Reported at https://wordpress.org/support/topic/widgets-displaying-saving/ by @newb1e:

under appearence > widgets I’ve noticed that if you put the image widget in a widget area and type in a link without http:// at the beginning, you can’t save the widget, but there is no notice what’s going on. Just nothing happens.

There should be some indication of an invalid URL.

This is regarding the link URL field which was added to the image widget in [41252] for #41274.

Change History (6)

#1 @westonruter
3 years ago

At the very least we should style the URL field to indicate the invalidity as can be seen when supplying a bad URL when adding a Custom Link as a nav menu item. See add-custom-menu-item-invalid-url.png.

#2 @westonruter
3 years ago

  • Description modified (diff)

3 years ago

3 years ago

3 years ago

Note: See TracTickets for help on using tickets.