From fa460ab32fb69fe84904295138901d1ec530530c Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Mon, 22 Jan 2018 04:52:33 +0000 Subject: [PATCH] Widgets: Allow relative/partial URLs in Image Widget's link field. Props audrasjb. Amends [41252]. See #41274. Fixes #42740. Built from https://develop.svn.wordpress.org/trunk@42533 git-svn-id: http://core.svn.wordpress.org/trunk@42362 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-includes/widgets/class-wp-widget-media-image.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index bb21af9145..de63bb0ea8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42531'; +$wp_version = '5.0-alpha-42533'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets/class-wp-widget-media-image.php b/wp-includes/widgets/class-wp-widget-media-image.php index e374b57ce3..8a95135bc7 100644 --- a/wp-includes/widgets/class-wp-widget-media-image.php +++ b/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 ) { #> <# } #>