[wp-trac] [WordPress Trac] #7805: Permalink doesn't update with new title on 'pending' posts.

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 29 18:08:35 GMT 2008


#7805: Permalink doesn't update with new title on 'pending' posts.
--------------------------+-------------------------------------------------
 Reporter:  jeremyclarke  |       Owner:  anonymous
     Type:  defect        |      Status:  new      
 Priority:  normal        |   Milestone:  2.7      
Component:  General       |     Version:  2.7      
 Severity:  normal        |    Keywords:           
--------------------------+-------------------------------------------------
 right now when you save a post as draft, then edit the title, the
 permalink is automatically changed to be the slug version of the new
 title. You can also manually edit it.

 Once the post is published the slug is set and you have to manually change
 it.

 However, if you save your post as 'pending' (by submitting it for review,
 which is what people who don't have publishing capabilities do when they
 use the publish button) then someone changes the title after, it doesn't
 alter the permalink, it keeps the slug from the old title.

 So if an editor changes the title while editing the post (a common thing)
 they have to manually change the permalink, which is not only annoying,
 but confusing because they are used to how the permalinks work when they
 are editing their own posts, and they don't expect that it would be
 different.

 Is this intentional? It doesn't make very much sense to me conceptually,
 and practically it has terrible implications (i don't even want to think
 about how many posts in our site have been affected by this that we just
 never noticed.)

 I'll look into this soon anyway, but let me know if it's intended behavior
 (so I can debate more!)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7805>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list