WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/19/2016 05:06:46 AM (4 years ago)
Author:
dd32
Message:

Core Upgrader: Add a locking mechanism to avoid two concurrent updates of WordPress occuring.

Fixes #34878

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/update-core.php

    r36182 r36349  
    485485    if ( is_wp_error($result) ) {
    486486        show_message($result);
    487         if ('up_to_date' != $result->get_error_code() )
     487        if ( 'up_to_date' != $result->get_error_code() && 'locked' != $result->get_error_code() )
    488488            show_message( __('Installation Failed') );
    489489        echo '</div>';
Note: See TracChangeset for help on using the changeset viewer.