From 9bfc7ded12b4c2808b3ce2f543cce772e0debe73 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Thu, 21 Apr 2016 21:34:30 +0000 Subject: [PATCH] Media: Remove an extra quote when sending a link of a media file to the editor. Introduced in [37035]. Merge of [37288] to the 4.5 branch. Props joemcgill, swissspidy, boonebgorges. Fixes #36578. Built from https://develop.svn.wordpress.org/branches/4.5@37289 git-svn-id: http://core.svn.wordpress.org/branches/4.5@37255 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/ajax-actions.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php index f3d8e839f8..e3b345c53c 100644 --- a/wp-admin/includes/ajax-actions.php +++ b/wp-admin/includes/ajax-actions.php @@ -2602,7 +2602,7 @@ function wp_ajax_send_attachment_to_editor() { $rel = $rel ? ' rel="attachment wp-att-' . $id . '"' : ''; // Hard-coded string, $id is already sanitized if ( ! empty( $url ) ) { - $html = '' . $html . ''; + $html = '' . $html . ''; } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 8028b00af8..b790860845 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5.1-alpha-37286'; +$wp_version = '4.5.1-alpha-37289'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.