From 8ec3da8a254b73bfa51f4869af838040d6cc29c1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 2 Jan 2020 12:11:02 +0000 Subject: [PATCH] Site Health: Fix typo in a variable name in `js/_enqueues/admin/site-health.js`. Props nickylimjj. Fixes #49112. Built from https://develop.svn.wordpress.org/trunk@47031 git-svn-id: http://core.svn.wordpress.org/trunk@46831 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/js/site-health.js | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/js/site-health.js b/wp-admin/js/site-health.js index f5a6fed06f..015b06c5ec 100644 --- a/wp-admin/js/site-health.js +++ b/wp-admin/js/site-health.js @@ -282,17 +282,17 @@ jQuery( document ).ready( function( $ ) { function updateDirSizes( data ) { var copyButton = $( 'button.button.copy-button' ); - var clipdoardText = copyButton.attr( 'data-clipboard-text' ); + var clipboardText = copyButton.attr( 'data-clipboard-text' ); $.each( data, function( name, value ) { var text = value.debug || value.size; if ( typeof text !== 'undefined' ) { - clipdoardText = clipdoardText.replace( name + ': loading...', name + ': ' + text ); + clipboardText = clipboardText.replace( name + ': loading...', name + ': ' + text ); } } ); - copyButton.attr( 'data-clipboard-text', clipdoardText ); + copyButton.attr( 'data-clipboard-text', clipboardText ); pathsSizesSection.find( 'td[class]' ).each( function( i, element ) { var td = $( element ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 543f0a3a0f..8affbbdb18 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47030'; +$wp_version = '5.4-alpha-47031'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.