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. git-svn-id: https://develop.svn.wordpress.org/trunk@48427 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
72d5862069
commit
d0b6778654
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user