Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #30377, comment 28


Ignore:
Timestamp:
10/23/2015 06:11:27 PM (9 years ago)
Author:
layotte
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30377, comment 28

    initial v1  
    22> Changing to enhancement, as `wp_check_filetype()` was never meant for URLs and the solution in this case is to introduce something else that does work for URLs.
    33
    4 The wp_check_filetype() function is called several times in wp-includes/media.php. Including the Audio shortcode (which is where I ran into this bug). I believe this should be considered a bug. Especially if the function was never meant to be used for URLs.
     4The wp_check_filetype() function is called several times on URLs in wp-includes/media.php. Including the Audio shortcode (which is where I ran into this bug). I believe this should be considered a bug. Especially if the function was never meant to be used for URLs.