[wp-trac] [WordPress Trac] #11863: Trashed items interfere with page/post slug generation

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 11 13:44:39 UTC 2010

#11863: Trashed items interfere with page/post slug generation
 Reporter:  Denis-de-Bernardy  |       Owner:  ryan
     Type:  defect (bug)       |      Status:  new 
 Priority:  normal             |   Milestone:  3.0 
Component:  Trash              |     Version:  2.9 
 Severity:  normal             |    Keywords:      

Comment(by TobiasBg):

 Seems like the right behavior to me.

 What if the new post would now get "test" and the user untrashs the other
 page. Then that will get "test-2" and thus would have a different
 permalink as before (which will be even more confusing).

 If the user wants to retain the "test" slug, he should simply not trash
 the old page, but overwrite/edit its contents.
 By doing that, there will never be a "test-2" slug.
 And if he later decides that he wants the old content back, it's still in
 a revision.

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

More information about the wp-trac mailing list