From 8ae0bc51be69cf625e6a1da20c00ac8c8e086f21 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Mon, 22 Jan 2018 04:51:16 +0000 Subject: [PATCH] Widgets: Allow relative/partial URLs in Image Widget's link field. Props audrasjb. Amends [41252]. See #41274. Fixes #42740. git-svn-id: https://develop.svn.wordpress.org/trunk@42533 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/widgets/class-wp-widget-media-image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/widgets/class-wp-widget-media-image.php b/src/wp-includes/widgets/class-wp-widget-media-image.php index e374b57ce3..8a95135bc7 100644 --- a/src/wp-includes/widgets/class-wp-widget-media-image.php +++ b/src/wp-includes/widgets/class-wp-widget-media-image.php @@ -329,7 +329,7 @@ class WP_Widget_Media_Image extends WP_Widget_Media { <# if ( data.url ) { #> <# } #>