[wp-hackers] Auto Draft problem... maybe
Davit Barbakadze
jayarjo at gmail.com
Wed May 26 05:03:40 UTC 2010
Well, some kind of locking mechanism can be used I think, instead of
creating new draft every time.
I'm writing something for Add New page and need to refresh it
constantly and every time it adds new Auto Draft to a database. It
doesn't look like it is going to clean them.
In my understanding that's kinda leak... no?
On Tue, May 25, 2010 at 10:50 PM, Bumbu Alex <bmbalex at gmail.com> wrote:
> it will remain as draft if you'll create new page and leave it.
> don't know about clearing, but I can give example - why not to use the same
> draft(if it is fully empty) when you create another draft :
> sometimes happens that you need to create 2 pages in parallel, or you
> just start one and in few seconds/minutes decide to make one more, and I am
> sure that when you'll write in one page, you don't want to override those
> information with information for second page, and so on... so how I know,
> every time you create new page/post - it is created automatic as draft, and
> the id of this draft is stored in this page not to mix things and to avoid
> that I described upper.
>
> bumbu
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
Davit Barbakadze
More information about the wp-hackers
mailing list