[wp-cvs] wordpress/wp-includes functions.php,1.234,1.235

Donncha O Caoimh donncha at users.sourceforge.net
Tue Jan 11 17:07:58 GMT 2005


Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10961

Modified Files:
	functions.php 
Log Message:
removed images from enclosure scanning.


Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.234
retrieving revision 1.235
diff -C2 -d -r1.234 -r1.235
*** functions.php	6 Jan 2005 10:07:52 -0000	1.234
--- functions.php	11 Jan 2005 17:07:54 -0000	1.235
***************
*** 784,788 ****
                          $type = substr( $response, strpos( $response, "Content-Type:" ) + 14 );
                          $type = substr( $type, 0, strpos( $type, "\n" ) + 1 );
!                         $allowed_types = array( "video", "audio", "image" );
                          if( in_array( substr( $type, 0, strpos( $type, "/" ) ), $allowed_types ) ) {
                              $meta_value = "$url\n$len\n$type\n";
--- 784,788 ----
                          $type = substr( $response, strpos( $response, "Content-Type:" ) + 14 );
                          $type = substr( $type, 0, strpos( $type, "\n" ) + 1 );
!                         $allowed_types = array( "video", "audio" );
                          if( in_array( substr( $type, 0, strpos( $type, "/" ) ), $allowed_types ) ) {
                              $meta_value = "$url\n$len\n$type\n";
***************
*** 1624,1626 ****
  }
  
! ?>
\ No newline at end of file
--- 1624,1626 ----
  }
  
! ?>



More information about the cvs mailing list