WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/30/2013 12:20:35 AM (6 years ago)
Author:
dd32
Message:

Automatic Updates: Add a rollback functionality upon installation failure, the rollback package will be available for partial-updates for automatic updates and be similar to our existing partial builds (but in reverse).
A further iteration of this is to also detect whitescreens (fatals) after a auto update, and trigger the rollback for that too.
See #22704

File:
1 edited

Legend:

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

    r25648 r25649  
    666666
    667667    $wp_filesystem->chmod( $versions_file, FS_CHMOD_FILE );
    668     require_once( WP_CONTENT_DIR . '/upgrade/version-current.php' );
     668    require( WP_CONTENT_DIR . '/upgrade/version-current.php' );
    669669    $wp_filesystem->delete( $versions_file );
    670670
Note: See TracChangeset for help on using the changeset viewer.