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
This commit is contained in:
parent
9571033894
commit
8ec3da8a25
|
@ -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 );
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue