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
This commit is contained in:
Dominik Schilling 2016-04-21 21:34:30 +00:00
parent 3ea969bb66
commit 9bfc7ded12
2 changed files with 2 additions and 2 deletions

View File

@ -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 = '<a href="' . esc_url( $url ) . '"' . $rel . '">' . $html . '</a>';
$html = '<a href="' . esc_url( $url ) . '"' . $rel . '>' . $html . '</a>';
}
}

View File

@ -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.