Changeset 47617 for trunk/src/wp-includes/functions.php
- Timestamp:
- 04/24/2020 07:26:57 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r47550 r47617 867 867 // If we haven't pung it already. 868 868 if ( ! in_array( $link_test, $pung, true ) ) { 869 $test = @parse_url( $link_test );869 $test = parse_url( $link_test ); 870 870 if ( false === $test ) { 871 871 continue; … … 902 902 903 903 // Check to see if we can figure out the mime type from the extension. 904 $url_parts = @parse_url( $url );904 $url_parts = parse_url( $url ); 905 905 if ( false !== $url_parts ) { 906 906 $extension = pathinfo( $url_parts['path'], PATHINFO_EXTENSION ); … … 1241 1241 */ 1242 1242 function wp_remote_fopen( $uri ) { 1243 $parsed_url = @parse_url( $uri );1243 $parsed_url = parse_url( $uri ); 1244 1244 1245 1245 if ( ! $parsed_url || ! is_array( $parsed_url ) ) {
Note: See TracChangeset
for help on using the changeset viewer.