[wp-trac] [WordPress Trac] #18800: Recycle auto-draft post entries

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 29 19:58:17 UTC 2011


#18800: Recycle auto-draft post entries
-------------------------+------------------------------
 Reporter:  MattyRob     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  3.2.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by MattyRob):

 Replying to [comment:5 nacin]:
 > I'm referring to multiple tabs for the same user, working on two
 different posts.

 Open one tab - hit Save Draft, open second tab. How many times has / does
 this scenario happen?

 > And then two different users writing at the same time.

 As I said - what are the edit locks all about then if not for stopping 2
 users editing at the same time - that's a really bad idea.

 > Current patch will try to give all three the same auto-draft to use.
 That's not good.
 >
 > I don't see a problem here, to be honest. We're just adding a few more
 rows to the DB that eventually get cleaned up. What's the bug?

 I haven't filed this as a bug but an '''enhancement''' - I'm saying it's
 sub-optimal adding multiple duplicate rows to a database table purely
 based on visiting the admin writing page for a split second and then
 moving on to then not re-use these table rows.

 My proposal is simply this - it could be better (by reusing the table
 rows).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18800#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list