Plugin Directory

Opened 14 years ago

Closed 14 years ago

#1430 closed defect (fixed)

wp-migrate-db: null formatting error

Reported by: lencinhaus's profile lencinhaus's profile lencinhaus Owned by: bradt's profile bradt's profile bradt
Priority: high Severity: major
Plugin: not-listed Keywords: wp-migrate-db
Cc: bradt

Description

There is a bug in wp-migrate-db where strings that are NULL in the source database are converted to empty strings. This breaks some plugins (namely WPML), which behave differently when certain values are NULLs or empty strings. I'll attach a patch for version 0.2.2 that solves this problem.

Attachments (1)

wp-migrate-db.php.patch (694 bytes) - added by lencinhaus 14 years ago.
Patch for wp-migrate-db.php version 0.2.2

Download all attachments as: .zip

Change History (3)

@lencinhaus
14 years ago

Patch for wp-migrate-db.php version 0.2.2

#1 @lencinhaus
14 years ago

  • Owner set to bradt

#2 @bradt
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Thanks for the patch! Applied in r476406.

Note: See TracTickets for help on using tickets.