[wp-trac] Re: [WordPress Trac] #6915: Make international slugs easier to edit

WordPress Trac wp-trac at lists.automattic.com
Mon May 19 19:28:25 GMT 2008


#6915: Make international slugs easier to edit
----------------------------+-----------------------------------------------
 Reporter:  options         |        Owner:  westi   
     Type:  defect          |       Status:  reopened
 Priority:  normal          |    Milestone:  2.6     
Component:  Administration  |      Version:  2.5.1   
 Severity:  normal          |   Resolution:          
 Keywords:  has-patch       |  
----------------------------+-----------------------------------------------
Comment (by joostdevalk):

 That patch makes it possible to write a plugin, which makes it impossible
 to change the slug... It should only be possible to filter there if a name
 has not yet been saved, so something like this would work better:

 {{{if ($name == $original_name) {
   $post->post_name = apply_filters('editable_slug', $post->post_name);
 }}}}

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


More information about the wp-trac mailing list