Make WordPress Core


Ignore:
Timestamp:
05/06/2015 09:45:58 PM (10 years ago)
Author:
mdawaffe
Message:

Upgrade: Ensure unintelligible DB schemas don't result in content loss.

See #32165.

File:
1 edited

Legend:

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

    r32379 r32417  
    14621462        }
    14631463
    1464         if ( 'byte' !== $content_length['type'] ) {
     1464        if ( 'byte' !== $content_length['type'] || 0 === $content_length['length'] ) {
    14651465            // Sites with malformed DB schemas are on their own.
    14661466            return;
Note: See TracChangeset for help on using the changeset viewer.