Upload Media: "Title" should not be overly sanitized
|Reported by:||mdawaffe||Owned by:|
|Severity:||normal||Keywords:||has-patch tested commit|
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.
post_title = "Me and My Dread God of Rocking Chairs"
Change History (15)
- Keywords has-patch developer-feedback reporter-feedback needs-testing added; needs-patch removed
- Keywords needs-patch added; has-patch developer-feedback reporter-feedback needs-testing removed