From 96549c50221c783dbe2a6a14890c127db73d64f5 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Sat, 20 May 2017 09:45:42 +0000 Subject: [PATCH] Widgets: Remove unused JS variable to fix JSHint error introduced in [40640]. See #39994. Built from https://develop.svn.wordpress.org/trunk@40811 git-svn-id: http://core.svn.wordpress.org/trunk@40669 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/js/widgets/media-video-widget.js | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/js/widgets/media-video-widget.js b/wp-admin/js/widgets/media-video-widget.js index 79ff84d86b..686336bf63 100644 --- a/wp-admin/js/widgets/media-video-widget.js +++ b/wp-admin/js/widgets/media-video-widget.js @@ -152,7 +152,7 @@ * @returns {void} */ renderPreview: function renderPreview() { - var control = this, previewContainer, previewTemplate, attachmentId, attachmentUrl, poster, isHostedEmbed = false, parsedUrl, mime, error; + var control = this, previewContainer, previewTemplate, attachmentId, attachmentUrl, poster, isHostedEmbed = false, mime, error; attachmentId = control.model.get( 'attachment_id' ); attachmentUrl = control.model.get( 'url' ); error = control.model.get( 'error' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index c0970425cf..cd4d613b37 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-beta1-40810'; +$wp_version = '4.8-beta1-40811'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.