[wp-hackers] Uploads 2.0 vs 2.1
Dr. Mike Wendell
theapparatus at gmail.com
Sun Feb 11 18:48:13 GMT 2007
On 2/11/07, Matt Mullenweg <m at mullenweg.com> wrote:
> Aaron D. Campbell wrote:
> > In 2.0.x, uploads seemed to be attached to a specific post (post_parent
> > was set to the post you were writing when you uploaded it). Now in 2.1,
> > it seems that they belong to nothing (post_parent is -1170977629). Am I
> > correct in stating that there is no way to tell what post they are
> > supposed to go with?
> It only does the negative post_parent when you're attaching things to a
> post that hasn't been saved yet. After it's published, or saved as a
> draft, it should update the post_parent ID to point to the correct place
> in the database.
That's strange as it does that to attachments for posts already made in WPMu.
Kim Possible: Remixed: http://kpremixed.tdjc.be
Get your own free hosted WordPress Blog today: http://daria.be
More information about the wp-hackers