[wp-trac] [WordPress Trac] #9081: Upload Media: "Title" should not be overly sanitized

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 10 02:00:58 GMT 2009


#9081: Upload Media: "Title" should not be overly sanitized
--------------------------+-------------------------------------------------
 Reporter:  mdawaffe      |       Owner:  anonymous    
     Type:  defect (bug)  |      Status:  new          
 Priority:  normal        |   Milestone:  2.8          
Component:  General       |     Version:  2.7          
 Severity:  normal        |    Keywords:  upload, media
--------------------------+-------------------------------------------------
 When I upload an image called "Me and My Dread God of Rocking Chairs.JPG",
 it gets stored on my webserver as "me-and-my-dread-god-of-rocking-
 chairs.jpg".  This is the correct behavior.

 However, the {{{post_title}}} of the attachment is also sent through
 {{{sanitize_with_dashes()}}}, which is unnecessary.

 Expected:
 {{{post_title = "Me and My Dread God of Rocking Chairs"}}}

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


More information about the wp-trac mailing list