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

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 6 03:10:54 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 glenn-om4):

 The simplest concept for users to understand would be that once a post is
 trashed, it is trashed and doesn't affect what they do from there on. And
 there is a restore from trash option. This matches the commonly understood
 'Trash' concept on the Windows and Mac desktop.

 If this concept is applied to WP posts and trashed posts, there is no need
 to check the trash permalinks before creating the new permalink - once
 posts are trashed, they don't have any influence anymore.

 In the much less common situation where a user wants to restore a post
 from the trash, then WP could check if there is a permalink conflict with
 active psots. If there is a conflict, only then as per Nacin's suggestion,
 "we should in some way present that to the user and offer a solution" e.g
 "The permalink page-2 used by this page is already in use, please correct
 before restoring". Then the the user could adjust the permalink to allow
 the restoration of the page.

 This way the Trash concept in WP will match the Trash concept elsewhere,
 and users only need to find out about permalink conflicts if they want to
 restore a page that conflicts, rather than in the far more common
 situation where they might be working on a draft, trash it and start
 again.

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


More information about the wp-trac mailing list