Make WordPress Core

Ticket #38089: 0001-Fixed-comment-regarding-existing-lock.patch

File 0001-Fixed-comment-regarding-existing-lock.patch, 824 bytes (added by markshep, 9 years ago)
  • src/wp-admin/includes/class-wp-upgrader.php

    From ced4b91d775fa43ef58eb4bb1b5d1edbb0a9272e Mon Sep 17 00:00:00 2001
    From: Mark Sheppard <mark@ddf.net>
    Date: Sun, 18 Sep 2016 17:11:05 +0000
    Subject: [PATCH] Fixed comment regarding existing lock
    
    ---
     src/wp-admin/includes/class-wp-upgrader.php | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/wp-admin/includes/class-wp-upgrader.php b/src/wp-admin/includes/class-wp-upgrader.php
    index 485197c..abbf20a 100644
    a b class WP_Upgrader { 
    853853                                return false;
    854854                        }
    855855
    856                         // Check to see if the lock is still valid. If not, bail.
     856                        // Check to see if the lock is still valid. If it is, bail.
    857857                        if ( $lock_result > ( time() - $release_timeout ) ) {
    858858                                return false;
    859859                        }