[wp-trac] Re: [WordPress Trac] #5749: Advanced Option: Post Slug should be removed

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 21 15:49:26 GMT 2008


#5749: Advanced Option: Post Slug should be removed
-----------------------+----------------------------------------------------
 Reporter:  lloydbudd  |        Owner:  markjaquith
     Type:  defect     |       Status:  assigned   
 Priority:  normal     |    Milestone:  2.5        
Component:  General    |      Version:  2.5        
 Severity:  normal     |   Resolution:             
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Changes (by filosofo):

  * keywords:  => has-patch

Comment:

 I've added a patch that puts the slug preview thing in place on autosave
 for a new post.

 It doesn't change the existing "save" functionality: clicking "save" still
 does not actually save the slug to the db. To do that we would need to
 duplicate the slug-fixing algorithm in wp_insert_post.  My idea is to move
 that to a separate function that is used by both wp_insert_post and admin-
 ajax.

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


More information about the wp-trac mailing list