[wp-trac] [WordPress Trac] #37989: Unexpected change to media title behavior in WP 4.6.1

WordPress Trac noreply at wordpress.org
Wed Sep 14 21:29:41 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:  needs-patch    |     Focuses:
---------------------------+------------------------

Comment (by joemcgill):

 [attachment:37989.diff] Should restore the previous behavior, by using
 `sanitize_text_field()` instead of `sanitize_title()` to sanitize the post
 titles that are generated. This also fixes the addition of file extensions
 to file names, which was introduced in [38294].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37989#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list