WordPress.org

Make WordPress Core

Changeset 48427


Ignore:
Timestamp:
07/10/2020 09:13:25 PM (7 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/admin/common.js

    r48417 r48427  
    16071607});
    16081608
    1609 // On the "Update plugin/theme from uploaded zip" screen
    1610 // hide the "Replace current with uploaded" button and show a warning in 1 hour and 59 minutes.
     1609/**
     1610 * Hides the update button for expired plugin or theme uploads.
     1611 *
     1612 * On the "Update plugin/theme from uploaded zip" screen, once the upload has expired,
     1613 * hides the "Replace current with uploaded" button and displays a warning.
     1614 *
     1615 * @since 5.5.0
     1616 */
    16111617$document.ready( function( $ ) {
    16121618    var $overwrite, $warning;
Note: See TracChangeset for help on using the changeset viewer.