diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 407be654b7..ab5084ec8e 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -783,7 +783,7 @@ function do_enclose( $content, $post_ID ) { $len = substr( $len, 0, strpos( $len, "\n" ) ); $type = substr( $response, strpos( $response, "Content-Type:" ) + 14 ); $type = substr( $type, 0, strpos( $type, "\n" ) + 1 ); - $allowed_types = array( "video", "audio", "image" ); + $allowed_types = array( "video", "audio" ); if( in_array( substr( $type, 0, strpos( $type, "/" ) ), $allowed_types ) ) { $meta_value = "$url\n$len\n$type\n"; $query = "INSERT INTO `".$wpdb->postmeta."` ( `meta_id` , `post_id` , `meta_key` , `meta_value` ) @@ -1623,4 +1623,4 @@ function add_magic_quotes($array) { return $array; } -?> \ No newline at end of file +?>