[wp-trac] [WordPress Trac] #50231: Add missing characters in `$special_chars` array in `sanitize_file_name()` function

WordPress Trac noreply at wordpress.org
Sat May 23 14:53:05 UTC 2020


#50231: Add missing characters in `$special_chars` array in `sanitize_file_name()`
function
--------------------------+-----------------------------
 Reporter:  audrasjb      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 That would be nice to add curly quote `’` and few quotation mark types
 from `$special_chars` array in `sanitize_file_name()` function.

 Use case: in French Mac OS systems, the default filename for screenshot is
 `Capture d’écran 2020-05-23 à 13.59.38.png`.

 Related: #22363

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50231>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list