Changeset 2081
- Timestamp:
- 01/11/05 17:07:54 (4 years ago)
- Files:
-
- trunk/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/functions.php
r2055 r2081 784 784 $type = substr( $response, strpos( $response, "Content-Type:" ) + 14 ); 785 785 $type = substr( $type, 0, strpos( $type, "\n" ) + 1 ); 786 $allowed_types = array( "video", "audio" , "image");786 $allowed_types = array( "video", "audio" ); 787 787 if( in_array( substr( $type, 0, strpos( $type, "/" ) ), $allowed_types ) ) { 788 788 $meta_value = "$url\n$len\n$type\n";
