Index: tags/2.6.3/wp-admin/includes/media.php
===================================================================
--- tags/2.6.2/wp-admin/includes/media.php (revision 8849)
+++ tags/2.6.3/wp-admin/includes/media.php (revision 45254)
@@ -619,9 +619,9 @@
'html' => "
-
-
-
+
+
+
\n",
'helps' => __('Enter a link URL or click above for presets.'),
@@ -814,5 +814,5 @@
$item .= $field[$field['input']];
elseif ( $field['input'] == 'textarea' ) {
- $item .= "";
+ $item .= "";
} else {
$item .= "";
Index: tags/2.6.3/wp-includes/class-snoopy.php
===================================================================
--- tags/2.6.2/wp-includes/class-snoopy.php (revision 8849)
+++ tags/2.6.3/wp-includes/class-snoopy.php (revision 45254)
@@ -1,21 +1,11 @@
- * @copyright 1999-2000 ispi, all rights reserved
- * @version 1.01
- * @license GNU Lesser GPL
- * @link http://snoopy.sourceforge.net/
- * @package Snoopy
- */
-
if ( !in_array('Snoopy', get_declared_classes() ) ) :
-/**
- * Snoopy - the PHP net client
- *
- * @author Monte Ohrt
- * @copyright (c): 1999-2000 ispi, all rights reserved
- * @version 1.01
- *
+/*************************************************
+
+Snoopy - the PHP net client
+Author: Monte Ohrt
+Copyright (c): 1999-2008 New Digital Group, all rights reserved
+Version: 1.2.4
+
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -31,17 +21,13 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * You may contact the author of Snoopy by e-mail at:
- * monte@ispi.net
- *
- * Or, write to:
- * Monte Ohrt
- * CTO, ispi
- * 237 S. 70th suite 220
- * Lincoln, NE 68510
- *
- * @link http://snoopy.sourceforge.net/ The latest version of Snoopy can be
- * obtained
- */
+
+You may contact the author of Snoopy by e-mail at:
+monte@ohrt.com
+
+The latest version of Snoopy can be obtained from:
+http://snoopy.sourceforge.net/
+
+*************************************************/
+
class Snoopy
{
@@ -57,5 +43,5 @@
var $proxy_pass = ""; // proxy password to use
- var $agent = "Snoopy v1.2.3"; // agent we masquerade as
+ var $agent = "Snoopy v1.2.4"; // agent we masquerade as
var $referer = ""; // referer info to pass
var $cookies = array(); // array of cookies to pass
@@ -86,5 +72,5 @@
var $response_code = ""; // response code returned from server
var $headers = array(); // headers returned from server sent here
- var $maxlength = 8192; // max return data length (body)
+ var $maxlength = 500000; // max return data length (body)
var $read_timeout = 0; // timeout on read operations, in seconds
// supported only since PHP 4 Beta 4
@@ -1021,6 +1007,5 @@
$headerfile = tempnam($temp_dir, "sno");
- $safer_URI = strtr( $URI, "\"", " " ); // strip quotes from the URI to avoid shell access
- exec(escapeshellcmd($this->curl_path." -D \"$headerfile\"".$cmdline_params." \"".$safer_URI."\""),$results,$return);
+ exec($this->curl_path." -k -D \"$headerfile\"".$cmdline_params." \"".escapeshellcmd($URI)."\"",$results,$return);
if($return)
@@ -1246,7 +1231,5 @@
$fp = fopen($file_name, "r");
- while (!feof($fp)) {
- $file_content .= fread($fp, filesize($file_name));
- }
+ $file_content = fread($fp, filesize($file_name));
fclose($fp);
$base_name = basename($file_name);
@@ -1265,4 +1248,3 @@
}
endif;
-
?>
Index: tags/2.6.3/wp-includes/version.php
===================================================================
--- tags/2.6.2/wp-includes/version.php (revision 8849)
+++ tags/2.6.3/wp-includes/version.php (revision 45254)
@@ -9,5 +9,5 @@
* @global string $wp_version
*/
-$wp_version = '2.6.2';
+$wp_version = '2.6.3';
/**