[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:49:34 UTC 2022


#30377: wp_check_filetype is broken when checking urls with parameters
-------------------------------------------------+-------------------------
 Reporter:  supercleanse                         |       Owner:  audrasjb
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.0
Component:  Media                                |     Version:  4.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-unit-tests needs-dev-note        |     Focuses:
  needs-patch                                    |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

 * keywords:  has-patch has-unit-tests needs-dev-note commit => has-unit-
     tests needs-dev-note needs-patch


Comment:

 I am being a little tedious to keep the milestone report keywords clean.

 I think we'd need e2e tests to test this use case as I don't think
 phpunit's ms-files tests use `SHORTINIT`.

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


More information about the wp-trac mailing list