Upgrade script to fix non-unique page GUIDs
|Reported by:||alexkingorg||Owned by:|
There were versions of WordPress prior to 3.1 that created non-unique GUIDs in the posts table.
This bug is fixed, but the bad data persists in many WP installs. Attached is a proof-of-concept plugin that could be included in the WordPress upgrade process to clean up these GUIDs.
In the interim, I'll probably release this as a plugin as we've got some folks using tools we built that need this fix ASAP.