[wp-trac] [WordPress Trac] #33242: Invalid file type - similar strings

WordPress Trac noreply at wordpress.org
Thu Sep 3 21:43:26 UTC 2015


#33242: Invalid file type - similar strings
--------------------------+------------------------------
 Reporter:  pavelevap     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by swissspidy):

 All three strings are used in different contexts:

 * `Invalid file type` is used as an error message in `wp_upload_bits`
 * `This file type is not allowed. Please try another.` is used as an error
 message for the flash uploader. Most error messages there have the `Please
 try another.` ending.
 * `Sorry, this file type is not permitted for security reasons.` is used
 in `_wp_handle_upload`

 At best merging strings 1 and 3 would make sense in my opinion.

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


More information about the wp-trac mailing list