[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:30:23 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-patch has-unit-tests needs-dev- | Focuses:
note commit |
-------------------------------------------------+-------------------------
Changes (by dd32):
* status: closed => reopened
* resolution: fixed =>
Comment:
@audrasjb Unfortunately this causes a PHP Fatal error for `ms-files.php`:
{{{
Uncaught Error: Call to undefined function strip_fragment_from_url() in
wp-includes/functions.php:3009
Stack trace:
#0 wp-includes/ms-files.php(32): wp_check_filetype('wp-include...')
#1 {main}
thrown
Source: GET https://make.wordpress.org/core/files/2022/01/list-view-
keyboard-focus-1.mp4
Timestamp: Tue, 08 Mar 2022 00:28:30 +0000 (1646699310)
File: wp-includes/functions.php
Line: 3009
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30377#comment:55>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list