[wp-trac] Re: [WordPress Trac] #9416: Allow removal of sanitize_title_with_dashes from wp_unique_filename

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 20 20:50:10 GMT 2009


#9416: Allow removal of sanitize_title_with_dashes from wp_unique_filename
-------------------------+--------------------------------------------------
 Reporter:  sivel        |       Owner:                  
     Type:  enhancement  |      Status:  new             
 Priority:  normal       |   Milestone:  2.8             
Component:  Upload       |     Version:  2.7.1           
 Severity:  normal       |    Keywords:  has-patch tested
-------------------------+--------------------------------------------------

Comment(by ryan):

 Talked to sivel in IRC about adding santiize_filename() that just removes
 some special chars, trims trailing and leading dots, and replaces spaces
 with underscores.  This is similar to what Drupal does.

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


More information about the wp-trac mailing list