Changeset 2081

Show
Ignore:
Timestamp:
01/11/05 17:07:54 (4 years ago)
Author:
donncha
Message:

removed images from enclosure scanning.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/functions.php

    r2055 r2081  
    784784                        $type = substr( $response, strpos( $response, "Content-Type:" ) + 14 ); 
    785785                        $type = substr( $type, 0, strpos( $type, "\n" ) + 1 ); 
    786                         $allowed_types = array( "video", "audio", "image" ); 
     786                        $allowed_types = array( "video", "audio" ); 
    787787                        if( in_array( substr( $type, 0, strpos( $type, "/" ) ), $allowed_types ) ) { 
    788788                            $meta_value = "$url\n$len\n$type\n";