### Eclipse Workspace Patch 1.0
#P wordpress-trunk bare
Index: wp-includes/query.php
===================================================================
--- wp-includes/query.php	(revision 17484)
+++ wp-includes/query.php	(working copy)
@@ -3505,9 +3505,7 @@
 		if ( $page > 1 )
 			$more = 1;
 		$multipage = 1;
-		$content = str_replace("\n<!--nextpage-->\n", '<!--nextpage-->', $content);
-		$content = str_replace("\n<!--nextpage-->", '<!--nextpage-->', $content);
-		$content = str_replace("<!--nextpage-->\n", '<!--nextpage-->', $content);
+		$content = str_replace(array("\n<!--nextpage-->", "<!--nextpage-->\n"), '<!--nextpage-->', $content);
 		$pages = explode('<!--nextpage-->', $content);
 		$numpages = count($pages);
 	} else {
