Changeset 19881
- Timestamp:
- 02/08/2012 08:55:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r19862 r19881 522 522 523 523 if ( $headers = wp_get_http_headers( $url) ) { 524 $len = (int) $headers['content-length'];525 $type = $headers['content-type'];524 $len = isset( $headers['content-length'] ) ? (int) $headers['content-length'] : 0; 525 $type = isset( $headers['content-type'] ) ? $headers['content-type'] : ''; 526 526 $allowed_types = array( 'video', 'audio' ); 527 527
Note: See TracChangeset
for help on using the changeset viewer.