Changeset 24480 for trunk/wp-includes/functions.php
- Timestamp:
- 06/21/2013 06:07:47 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r24444 r24480 497 497 $options = array(); 498 498 $options['redirection'] = 5; 499 $options['reject_unsafe_urls'] = true; 499 500 500 501 if ( false == $file_path ) … … 544 545 _deprecated_argument( __FUNCTION__, '2.7' ); 545 546 546 $response = wp_remote_head( $url );547 $response = wp_remote_head( $url, array( 'reject_unsafe_urls' => true ) ); 547 548 548 549 if ( is_wp_error( $response ) ) … … 759 760 $options = array(); 760 761 $options['timeout'] = 10; 762 $options['reject_unsafe_urls'] = true; 761 763 762 764 $response = wp_remote_get( $uri, $options );
Note: See TracChangeset
for help on using the changeset viewer.