From 4645084c09efd9ccef6aa9718c020e49e010af9c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 10 Jul 2020 21:15:03 +0000 Subject: [PATCH] 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 --- wp-admin/js/common.js | 10 ++++++++-- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/wp-admin/js/common.js b/wp-admin/js/common.js index 7265ae4612..556c02ef7e 100644 --- a/wp-admin/js/common.js +++ b/wp-admin/js/common.js @@ -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; diff --git a/wp-includes/version.php b/wp-includes/version.php index b00162c3bf..a65dba02b7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.