WordPress.org

Ready to get started?Download WordPress

Forums

Allow Comments in Quick Edit clears my meta? (1 post)

  1. wendallsan
    Member
    Posted 1 year ago #

    Hi all, I've written a plugin that stores data using the post meta, saving the data to the meta key "chapters". This data is an array of objects that gets serialized as it's saved. This plugin also makes use of a custom post type. I've discovered that using the "quick edit" feature in the custom post type's list and changing the value of the "allow comments" checkbox deletes my "chapters" post meta. The really weird thing is that my plugin creates and uses another meta key called "video-id" and that does not get wiped, just my "chapters" data gets wiped. Any idea why this would happen?

Topic Closed

This topic has been closed to new replies.

About this Topic