[wp-trac] [WordPress Trac] #37989: Unexpected change to media title behavior in WP 4.6.1
WordPress Trac
noreply at wordpress.org
Fri Sep 16 12:05:15 UTC 2016
#37989: Unexpected change to media title behavior in WP 4.6.1
--------------------------------------+------------------------
Reporter: arhenderson63 | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.6.2
Component: Media | Version: 4.6.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------
Comment (by oldrup):
Oh thanks - not to be ungrateful, but titles are still sanitized, so if I
choose to upload media with the name:
"Dette er en test, æøå ÆØÅ & halløj"
I expect the title to be exactly that, and not
"Dette-er-en-test-æøå-ÆØÅ-halløj"
As a previously poster mentioned, sanitizing the FILENAME makes good
sense, but the TITLE should be left unchanged in my opinion.
Btw https://wordpress.org/plugins/code-snippets/ is great for testing
fixes like that without having to edit the files manually.
Anyone able to create a fix, that leaves the title alone?
Replying to [comment:27 hcarsten]:
> Replying to [comment:26 oldrup]:
> > Am experiencing this issue on all my wp 4.6.1 sites as well - same
stuff, uploading PDF files, titles gets sanitized. Must edit and manually
fix all titles afterward. Hope this gets fixed :)
>
> Hi,
> try my fix comment 20 above. We had the same problem with PDF files
also.
>
> best
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37989#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list