Docs: Fix typo in a comment in Core_Upgrader::upgrade()
.
Props Zuige. Fixes #37314. git-svn-id: https://develop.svn.wordpress.org/trunk@38014 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
629c6e36b5
commit
ec1f83f770
@ -113,7 +113,7 @@ class Core_Upgrader extends WP_Upgrader {
|
|||||||
else
|
else
|
||||||
$to_download = 'full';
|
$to_download = 'full';
|
||||||
|
|
||||||
// Lock to prevent multiple Core Updates occuring
|
// Lock to prevent multiple Core Updates occurring
|
||||||
$lock = WP_Upgrader::create_lock( 'core_updater', 15 * MINUTE_IN_SECONDS );
|
$lock = WP_Upgrader::create_lock( 'core_updater', 15 * MINUTE_IN_SECONDS );
|
||||||
if ( ! $lock ) {
|
if ( ! $lock ) {
|
||||||
return new WP_Error( 'locked', $this->strings['locked'] );
|
return new WP_Error( 'locked', $this->strings['locked'] );
|
||||||
|
Loading…
Reference in New Issue
Block a user