[wp-hackers] Missing postmeta after 3.6 upgrade

Josh joshua.sibelman at gmail.com
Tue Aug 6 00:10:18 UTC 2013


FYI, I reverted back to WP 3.5.2 and the problem ceased. Seems like this must be a bug in 3.6 with the new revisions tool.


On Monday, August 5, 2013 at 4:17 PM, Josh wrote:

> It's kind of a weird issue to explain. It occurs when clicking on a post to edit it. Clicking on a post to edit brings up the edit post screen, where the postmeta fields are then blank. Looking at the database the postmeta is in the postmeta table, but once I click on the record to edit it, once the edit screen loads the postmeda fields are gone from the db. It's as though some action is being called upon loading the edit screen that is deleting the post meta. Definitely a head scratcher.  
> 
> If I restore the post to a previous state via an available autosave or revision then the postmeta is restored, and subsequent clicks to edit the record do not cause the postmeta to be deleted.
> 
> 
> On Monday, August 5, 2013 at 3:44 PM, Alex Rayan wrote:
> 
> > Hi Josh,
> > I have a few plugins with custom post types that add meta data to a post on
> > "publish_[custom_post_type]" action. I've tested them with 3.6 and haven't
> > noticed any issues with meta data being wiped out.
> > How are you recording meta data for your custom posts? On which action?
> > 
> > Best regards,
> > Alex
> > 
> > 
> > On Mon, Aug 5, 2013 at 5:35 PM, Josh <joshua.sibelman at gmail.com (mailto:joshua.sibelman at gmail.com)> wrote:
> > 
> > > Hi all,
> > > 
> > > We just started noticing blank meta fields for several custom post types
> > > after upgrading to 3.6. I've been reading that 3.6 made some big changes to
> > > how autosave is handled and to me this looks like behavior I've seen
> > > before with autosave wiping out postmeta. Has anyone else noticed this
> > > happening?
> > > 
> > > Thanks,
> > > Josh
> > > 
> > > _______________________________________________
> > > wp-hackers mailing list
> > > wp-hackers at lists.automattic.com (mailto:wp-hackers at lists.automattic.com)
> > > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > > 
> > 
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com (mailto:wp-hackers at lists.automattic.com)
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > 
> > 
> > 
> 
> 



More information about the wp-hackers mailing list