Changeset 48621 for trunk/src/wp-includes/functions.php
- Timestamp:
- 07/26/2020 02:06:03 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r48607 r48621 908 908 // Check to see if we can figure out the mime type from the extension. 909 909 $url_parts = parse_url( $url ); 910 if ( false !== $url_parts ) {910 if ( false !== $url_parts && ! empty( $url_parts['path'] ) ) { 911 911 $extension = pathinfo( $url_parts['path'], PATHINFO_EXTENSION ); 912 912 if ( ! empty( $extension ) ) {
Note: See TracChangeset
for help on using the changeset viewer.