[wp-trac] [WordPress Trac] #30377: wp_check_filetype is broken when checking urls with parameters

WordPress Trac noreply at wordpress.org
Tue Mar 8 00:44:46 UTC 2016


#30377: wp_check_filetype is broken when checking urls with parameters
-------------------------------------------------+-------------------------
 Reporter:  supercleanse                         |       Owner:
     Type:  enhancement                          |  johnbillion
 Priority:  normal                               |      Status:  reviewing
Component:  Media                                |   Milestone:  Future
 Severity:  normal                               |  Release
 Keywords:  needs-testing needs-unit-tests       |     Version:  4.0
  needs-refresh                                  |  Resolution:
                                                 |     Focuses:
-------------------------------------------------+-------------------------

Comment (by spencercameron):

 Worth noting this also breaks importing when attachment URLs contain query
 parameters since the importer uses `wp_check_filetype()`.

 See: https://plugins.trac.wordpress.org/browser/wordpress-importer/trunk
 /wordpress-importer.php#L861

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


More information about the wp-trac mailing list