[wp-cvs] wordpress/wp-admin post.php,1.98,1.99

Donncha O Caoimh donncha at users.sourceforge.net
Thu Oct 14 14:22:43 UTC 2004


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

Modified Files:
	post.php 
Log Message:
Seperate enclosure URLs by 1 space, not 3.


Index: post.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/post.php,v
retrieving revision 1.98
retrieving revision 1.99
diff -C2 -d -r1.98 -r1.99
*** post.php	14 Oct 2004 07:48:15 -0000	1.98
--- post.php	14 Oct 2004 14:22:40 -0000	1.99
***************
*** 380,384 ****
  
          // Enclosures
!         $enclosures = split( "   ", $enclosure_url );
          if( is_array( $enclosures ) ) {
              while( list( $key, $url ) = each( $enclosures ) ) {
--- 380,384 ----
  
          // Enclosures
!         $enclosures = split( " ", $enclosure_url );
          if( is_array( $enclosures ) ) {
              while( list( $key, $url ) = each( $enclosures ) ) {
***************
*** 391,401 ****
                      $port    = 80;
                      $timeout = 3;
!                     // Open a socket connection to the host
!                     $fp = fsockopen($host, $port, $err_num, $err_msg, $timeout);
                      if( $fp ) {
-                         // Send request for the page
                          fputs($fp, $headers );
- 
-                         // Get the response
                          $response = '';
                          while (!feof($fp))
--- 391,397 ----
                      $port    = 80;
                      $timeout = 3;
!                     $fp = fsockopen($host, $port, &$err_num, &$err_msg, $timeout);
                      if( $fp ) {
                          fputs($fp, $headers );
                          $response = '';
                          while (!feof($fp))




More information about the cvs mailing list