WordPress.org

Make WordPress Core

Changeset 47031


Ignore:
Timestamp:
01/02/2020 12:09:27 PM (16 months ago)
Author:
SergeyBiryukov
Message:

Site Health: Fix typo in a variable name in js/_enqueues/admin/site-health.js.

Props nickylimjj.
Fixes #49112.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/admin/site-health.js

    r46586 r47031  
    283283    function updateDirSizes( data ) {
    284284        var copyButton = $( 'button.button.copy-button' );
    285         var clipdoardText = copyButton.attr( 'data-clipboard-text' );
     285        var clipboardText = copyButton.attr( 'data-clipboard-text' );
    286286
    287287        $.each( data, function( name, value ) {
     
    289289
    290290            if ( typeof text !== 'undefined' ) {
    291                 clipdoardText = clipdoardText.replace( name + ': loading...', name + ': ' + text );
     291                clipboardText = clipboardText.replace( name + ': loading...', name + ': ' + text );
    292292            }
    293293        } );
    294294
    295         copyButton.attr( 'data-clipboard-text', clipdoardText );
     295        copyButton.attr( 'data-clipboard-text', clipboardText );
    296296
    297297        pathsSizesSection.find( 'td[class]' ).each( function( i, element ) {
Note: See TracChangeset for help on using the changeset viewer.