diff --git a/wp-includes/version.php b/wp-includes/version.php index edd6fb2fa0..d95a53bb1c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta1-45143'; +$wp_version = '5.2-beta1-45144'; /** * 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 ebc92897ac..ccf9d8908b 100644 --- a/wp-includes/widgets/class-wp-widget-media-image.php +++ b/wp-includes/widgets/class-wp-widget-media-image.php @@ -266,7 +266,7 @@ class WP_Widget_Media_Image extends WP_Widget_Media { $link .= '>'; $link .= $image; $link .= ''; - $image = $link; + $image = wp_targeted_link_rel( $link ); } if ( $caption ) {