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 { |
| 853 | 853 | return false; |
| 854 | 854 | } |
| 855 | 855 | |
| 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. |
| 857 | 857 | if ( $lock_result > ( time() - $release_timeout ) ) { |
| 858 | 858 | return false; |
| 859 | 859 | } |