Docs: Improve description for the JS function that hides the update button for expired plugin or theme uploads.

Add missing `@since` tag.

Follow-up to [48417].

See #50612.
Built from https://develop.svn.wordpress.org/trunk@48427


git-svn-id: http://core.svn.wordpress.org/trunk@48196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-07-10 21:15:03 +00:00
parent 8ef38d34fc
commit 4645084c09
2 changed files with 9 additions and 3 deletions

View File

@ -1606,8 +1606,14 @@ $document.ready( function() {
});
});
// On the "Update plugin/theme from uploaded zip" screen
// hide the "Replace current with uploaded" button and show a warning in 1 hour and 59 minutes.
/**
* Hides the update button for expired plugin or theme uploads.
*
* On the "Update plugin/theme from uploaded zip" screen, once the upload has expired,
* hides the "Replace current with uploaded" button and displays a warning.
*
* @since 5.5.0
*/
$document.ready( function( $ ) {
var $overwrite, $warning;

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-beta1-48426';
$wp_version = '5.5-beta1-48427';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.