From c3fe61770c5342877407bc143cc1a2590afcf93a Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Thu, 21 Apr 2016 21:21:28 +0000 Subject: [PATCH] Media: Remove an extra quote when sending a link of a media file to the editor. Introduced in [37035]. Props joemcgill, swissspidy, boonebgorges. Fixes #36578. Built from https://develop.svn.wordpress.org/trunk@37288 git-svn-id: http://core.svn.wordpress.org/trunk@37254 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 595f9baf2c..6332759b58 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37287'; +$wp_version = '4.6-alpha-37288'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.