Index: wp-includes/link-template.php
===================================================================
--- wp-includes/link-template.php	(revision 11524)
+++ wp-includes/link-template.php	(working copy)
@@ -1038,7 +1049,7 @@
 
 	$order = $start ? 'ASC' : 'DESC';
 
-	return get_posts("numberposts=1&order=$order&orderby=ID&category=$categories");
+	return get_posts( array('numberposts' => 1, 'order' => $order, 'orderby' => 'ID', 'category' => $categories) );
 }
 
 /**
Index: xmlrpc.php
===================================================================
--- xmlrpc.php	(revision 11524)
+++ xmlrpc.php	(working copy)
@@ -604,7 +604,7 @@
 			$page_limit = $num_pages;
 		}
 
-		$pages = get_posts( "post_type=page&post_status=all&numberposts={$page_limit}" );
+		$pages = get_posts( array('post_type' => 'page', 'post_status' => 'all', 'numberposts' => $page_limit) );
 		$num_pages = count($pages);
 
 		// If we have pages, put together their info.