[wp-hackers] Unsigned wp_posts.post_parent

Philip Hetjens philip at hetjens.eu
Wed Oct 14 12:28:56 UTC 2009


Hi everybody,
with Wordpress 2.8.0 the field definition of wp_posts.post_parent changed:
from "bigint(20)" to "bigint(20) unsigned".

The MetaWeblog-API (I know, not fully supported anymore by wordpress) sets
the post_parent of attachments first to -1 and as soon as the post itself is
uploaded all attachments with post_parent -1 will be updated with the
correct post_parent.

Is it possible to remove the unsigned flag for the field, so that the api
works again.

Thanks,
Philip


More information about the wp-hackers mailing list