@@ -43,3 +43,15 @@ Index: wp-mail.php
$post_data = compact('post_content','post_title','post_date','post_date_gmt','post_author','post_category', 'post_status');
$post_data = add_magic_quotes($post_data);
+Index: xmlrpc.php
+--- xmlrpc.php.orig 2007-05-11 23:40:15 +0200
++++ xmlrpc.php 2007-06-08 16:07:27 +0200
+@@ -538,7 +538,7 @@
+ $username = $args[1];
+ $password = $args[2];
+ $category = $args[3];
+- $max_results = $args[4];
++ $max_results = (int) $args[4];
+
+ if(!$this->login_pass_ok($username, $password)) {
+ return($this->error);
@@ -46,7 +46,7 @@ Class: PLUS
Group: CMS
License: GPL
Version: %{V_wordpress}
-Release: 20070531
+Release: 20070608
# list of sources
Source0: http://wordpress.org/wordpress-%{V_wordpress}.tar.gz