mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@42140 git-svn-id: http://core.svn.wordpress.org/trunk@41971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1ee26acf95
commit
4bf8081e64
@ -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;
|
||||
}
|
||||
|
||||
|
2
wp-admin/css/widgets-rtl.min.css
vendored
2
wp-admin/css/widgets-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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;
|
||||
}
|
||||
|
||||
|
2
wp-admin/css/widgets.min.css
vendored
2
wp-admin/css/widgets.min.css
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-42138';
|
||||
$wp_version = '5.0-alpha-42140';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user