<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -618,11 +618,11 @@ function get_attachment_fields_to_edit($post, $errors = null) {
 			'input'      =&gt; 'html',
 			'html'       =&gt; &quot;
 				&lt;input type='text' name='attachments[$post-&gt;ID][url]' value='&quot; . attribute_escape($file) . &quot;' /&gt;&lt;br /&gt;
-				&lt;button type='button' class='button url-$post-&gt;ID' value=''&gt;&quot; . __('None') . &quot;&lt;/button&gt;
-				&lt;button type='button' class='button url-$post-&gt;ID' value='&quot; . attribute_escape($file) . &quot;'&gt;&quot; . __('File URL') . &quot;&lt;/button&gt;
-				&lt;button type='button' class='button url-$post-&gt;ID' value='&quot; . attribute_escape($link) . &quot;'&gt;&quot; . __('Post URL') . &quot;&lt;/button&gt;
+				&lt;button type='button' class='button url-$post-&gt;ID' title=''&gt;&quot; . __('None') . &quot;&lt;/button&gt;
+				&lt;button type='button' class='button url-$post-&gt;ID' title='&quot; . attribute_escape($file) . &quot;'&gt;&quot; . __('File URL') . &quot;&lt;/button&gt;
+				&lt;button type='button' class='button url-$post-&gt;ID' title='&quot; . attribute_escape($link) . &quot;'&gt;&quot; . __('Post URL') . &quot;&lt;/button&gt;
 				&lt;script type='text/javascript'&gt;
-				jQuery('button.url-$post-&gt;ID').bind('click', function(){jQuery(this).siblings('input').val(this.value);});
+				jQuery('button.url-$post-&gt;ID').bind('click', function(){jQuery(this).siblings('input').val(jQuery(this).attr('title'));});
 				&lt;/script&gt;\n&quot;,
 			'helps'      =&gt; __('Enter a link URL or click above for presets.'),
 		),
@@ -813,7 +813,7 @@ function get_media_item( $attachment_id, $args = null ) {
 		if ( !empty($field[$field['input']]) )
 			$item .= $field[$field['input']];
 		elseif ( $field['input'] == 'textarea' ) {
-			$item .= &quot;&lt;textarea type='text' id='$name' name='$name'&gt;&quot; . attribute_escape( $field['value'] ) . $aria_required . &quot;&lt;/textarea&gt;&quot;;
+			$item .= &quot;&lt;textarea type='text' id='$name' name='$name'&quot; . $aria_required . &quot;&gt;&quot; . htmlspecialchars( $field['value'] ) . &quot;&lt;/textarea&gt;&quot;;
 		} else {
 			$item .= &quot;&lt;input type='text' id='$name' name='$name' value='&quot; . attribute_escape( $field['value'] ) . &quot;'&quot; . $aria_required . &quot;/&gt;&quot;;
 		}</diff>
      <filename>wp-admin/includes/media.php</filename>
    </modified>
    <modified>
      <diff>@@ -2,8 +2,8 @@
 /*
 Plugin Name: Akismet
 Plugin URI: http://akismet.com/
-Description: Akismet checks your comments against the Akismet web service to see if they look like spam or not. You need a &lt;a href=&quot;http://wordpress.com/api-keys/&quot;&gt;WordPress.com API key&lt;/a&gt; to use it. You can review the spam it catches under &quot;Comments.&quot; To show off your Akismet stats just put &lt;code&gt;&amp;lt;?php akismet_counter(); ?&gt;&lt;/code&gt; in your template. See also: &lt;a href=&quot;http://wordpress.org/extend/plugins/stats/&quot;&gt;WP Stats plugin&lt;/a&gt;.
-Version: 2.1.8
+Description: Akismet checks your comments against the Akismet web service to see if they look like spam or not. You need a &lt;a href=&quot;http://wordpress.com/api-keys/&quot;&gt;WordPress.com API key&lt;/a&gt; to use it. You can review the spam it catches under &quot;Comments.&quot; To show off your Akismet stats just put &lt;code&gt;&amp;lt;?php akismet_counter(); ?&amp;gt;&lt;/code&gt; in your template. See also: &lt;a href=&quot;http://wordpress.org/extend/plugins/stats/&quot;&gt;WP Stats plugin&lt;/a&gt;.
+Version: 2.2.1
 Author: Matt Mullenweg
 Author URI: http://ma.tt/
 */
@@ -21,6 +21,7 @@ function akismet_init() {
 
 	$akismet_api_port = 80;
 	add_action('admin_menu', 'akismet_config_page');
+	add_action('admin_menu', 'akismet_stats_page');
 }
 add_action('init', 'akismet_init');
 
@@ -137,6 +138,44 @@ function akismet_conf() {
 &lt;?php
 }
 
+function akismet_stats_page() {
+	if ( function_exists('add_submenu_page') )
+		add_submenu_page('index.php', __('Akismet Stats'), __('Akismet Stats'), 'manage_options', 'akismet-stats-display', 'akismet_stats_display');
+
+}
+
+function akismet_stats_script() {
+	?&gt;
+&lt;script type=&quot;text/javascript&quot;&gt;
+function resizeIframe() {
+    var height = document.documentElement.clientHeight;
+    height -= document.getElementById('akismet-stats-frame').offsetTop;
+    height += 100; // magic padding
+    
+    document.getElementById('akismet-stats-frame').style.height = height +&quot;px&quot;;
+    
+};
+function resizeIframeInit() {
+	document.getElementById('akismet-stats-frame').onload = resizeIframe;
+	window.onresize = resizeIframe;
+}
+addLoadEvent(resizeIframeInit);
+&lt;/script&gt;&lt;?php
+}
+
+add_action('admin_head-dashboard_page_akismet-stats-display', 'akismet_stats_script');
+
+function akismet_stats_display() {
+	global $akismet_api_host, $akismet_api_port, $wpcom_api_key;
+	$blog = urlencode( get_option('home') );
+	$url = &quot;http://&quot;.get_option('wordpress_api_key').&quot;.web.akismet.com/1.0/user-stats.php?blog={$blog}&quot;;
+	?&gt;
+	&lt;div class=&quot;wrap&quot;&gt;
+	&lt;iframe src=&quot;&lt;?php echo $url; ?&gt;&quot; width=&quot;100%&quot; height=&quot;100%&quot; frameborder=&quot;0&quot; id=&quot;akismet-stats-frame&quot;&gt;&lt;/iframe&gt;
+	&lt;/div&gt;
+	&lt;?php
+}
+
 function akismet_verify_key( $key ) {
 	global $akismet_api_host, $akismet_api_port, $wpcom_api_key;
 	$blog = urlencode( get_option('home') );
@@ -263,6 +302,9 @@ add_action('wp_set_comment_status', 'akismet_submit_spam_comment');
 add_action('edit_comment', 'akismet_submit_spam_comment');
 add_action('preprocess_comment', 'akismet_auto_check_comment', 1);
 
+function akismet_spamtoham( $comment ) { akismet_submit_nonspam_comment( $comment-&gt;comment_ID ); }
+add_filter( 'comment_spam_to_approved', 'akismet_spamtoham' );
+
 // Total spam in queue
 // get_option( 'akismet_spam_count' ) is the total caught ever
 function akismet_spam_count( $type = false ) {</diff>
      <filename>wp-content/plugins/akismet/akismet.php</filename>
    </modified>
    <modified>
      <diff>@@ -1,22 +1,12 @@
 &lt;?php
-/**
- * Snoopy - the PHP net client
- * @author Monte Ohrt &lt;monte@ispi.net&gt;
- * @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 &lt;monte@ispi.net&gt;
- * @copyright (c): 1999-2000 ispi, all rights reserved
- * @version 1.01
- *
+/*************************************************
+
+Snoopy - the PHP net client
+Author: Monte Ohrt &lt;monte@ispi.net&gt;
+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
  * License as published by the Free Software Foundation; either
@@ -30,19 +20,15 @@ if ( !in_array('Snoopy', get_declared_classes() ) ) :
  * You should have received a copy of the GNU Lesser General Public
  * 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
 {
 	/**** Public variables ****/
@@ -56,7 +42,7 @@ class Snoopy
 	var $proxy_user		=	&quot;&quot;;					// proxy user to use
 	var $proxy_pass		=	&quot;&quot;;					// proxy password to use
 
-	var $agent			=	&quot;Snoopy v1.2.3&quot;;	// agent we masquerade as
+	var $agent			=	&quot;Snoopy v1.2.4&quot;;	// agent we masquerade as
 	var	$referer		=	&quot;&quot;;					// referer info to pass
 	var $cookies		=	array();			// array of cookies to pass
 												// $cookies[&quot;username&quot;]=&quot;joe&quot;;
@@ -85,7 +71,7 @@ class Snoopy
 	var $error			=	&quot;&quot;;					// error messages sent here
 	var	$response_code	=	&quot;&quot;;					// 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
 												// set to 0 to disallow timeouts
@@ -727,13 +713,13 @@ class Snoopy
 							chr(176),
 							chr(39),
 							chr(128),
-							&quot;&#195;&#164;&quot;,
-							&quot;&#195;&#182;&quot;,
-							&quot;&#195;&#188;&quot;,
-							&quot;&#195;&#8222;&quot;,
-							&quot;&#195;&#8211;&quot;,
-							&quot;&#195;&#339;&quot;,
-							&quot;&#195;&#376;&quot;,
+							&quot;&#228;&quot;,
+							&quot;&#246;&quot;,
+							&quot;&#252;&quot;,
+							&quot;&#196;&quot;,
+							&quot;&#214;&quot;,
+							&quot;&#220;&quot;,
+							&quot;&#223;&quot;,
 						);
 
 		$text = preg_replace($search,$replace,$document);
@@ -1020,8 +1006,7 @@ class Snoopy
 
 		$headerfile = tempnam($temp_dir, &quot;sno&quot;);
 
-		$safer_URI = strtr( $URI, &quot;\&quot;&quot;, &quot; &quot; ); // strip quotes from the URI to avoid shell access
-		exec(escapeshellcmd($this-&gt;curl_path.&quot; -D \&quot;$headerfile\&quot;&quot;.$cmdline_params.&quot; \&quot;&quot;.$safer_URI.&quot;\&quot;&quot;),$results,$return);
+		exec($this-&gt;curl_path.&quot; -k -D \&quot;$headerfile\&quot;&quot;.$cmdline_params.&quot; \&quot;&quot;.escapeshellcmd($URI).&quot;\&quot;&quot;,$results,$return);
 
 		if($return)
 		{
@@ -1245,9 +1230,7 @@ class Snoopy
 						if (!is_readable($file_name)) continue;
 
 						$fp = fopen($file_name, &quot;r&quot;);
-						while (!feof($fp)) {
-							$file_content .= fread($fp, filesize($file_name));
-						}
+						$file_content = fread($fp, filesize($file_name));
 						fclose($fp);
 						$base_name = basename($file_name);
 
@@ -1264,5 +1247,4 @@ class Snoopy
 	}
 }
 endif;
-
 ?&gt;</diff>
      <filename>wp-includes/class-snoopy.php</filename>
    </modified>
    <modified>
      <diff>@@ -8,7 +8,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '2.6.2';
+$wp_version = '2.6.3';
 
 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.</diff>
      <filename>wp-includes/version.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3e13e2b0a61f03c5d7270f0045f1302d6b12ed2a</id>
    </parent>
  </parents>
  <author>
    <name>Ian McKellar</name>
    <email>ian@mckellar.org</email>
  </author>
  <url>http://github.com/ianloic/wordpress/commit/98974aa62315c7998d8130918c9f289c7b94ba43</url>
  <id>98974aa62315c7998d8130918c9f289c7b94ba43</id>
  <committed-date>2008-11-07T14:47:17-08:00</committed-date>
  <authored-date>2008-11-07T14:47:17-08:00</authored-date>
  <message>updated to wordpress 2.6.3</message>
  <tree>69d77928873c6b418e5f2395eb5e47940dd93de7</tree>
  <committer>
    <name>Ian McKellar</name>
    <email>ian@mckellar.org</email>
  </committer>
</commit>
