[wp-trac] [WordPress Trac] #23665: Create one autosave per user

WordPress Trac noreply at wordpress.org
Fri Mar 8 02:41:59 UTC 2013


#23665: Create one autosave per user
-------------------------+------------------
 Reporter:  azaozz       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.6
Component:  Autosave     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------

Comment (by azaozz):

 In 23665-2.patch​:

 - Don't short-circuit `wp_get_post_revisions()` when `WP_POST_REVISIONS`
 is false. It is used to get the autosave(s) too.
 - Show the correct preview to each user when several users are editing.

 23665-post-name.patch​ short-circuits `wp_unique_post_slug()` for post
 revisions. Currently revisions are saved with post_name
 `{$post->post_parent}-revision`, and autosaves:
 `{$post->post_parent}-autosave`. When there are more than one, wp_unique-
 post_slug kicks in and adds `-2`, `-3`, etc. to the end. This is intended
 for post slugs and not necessary for revisions.

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


More information about the wp-trac mailing list