WordPress.org

Make WordPress Core

Changeset 25915 for trunk


Ignore:
Timestamp:
10/25/2013 08:14:23 PM (6 years ago)
Author:
nacin
Message:

Avoid a notice for an undefined $checksums variable when updating from pre-3.7 to post-3.7.

props GaryJ.
fixes #25689 for trunk.

File:
1 edited

Legend:

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

    r25897 r25915  
    751751    $skip = array( 'wp-content' );
    752752    $failed = array();
    753     if ( is_array( $checksums ) ) {
     753    if ( isset( $checksums ) && is_array( $checksums ) ) {
    754754        foreach ( $checksums as $file => $checksum ) {
    755755            if ( 0 === strpos( $file, 'wp-content' ) )
Note: See TracChangeset for help on using the changeset viewer.