Index: wp-includes/post.php
===================================================================
--- wp-includes/post.php	(revision 19621)
+++ wp-includes/post.php	(working copy)
@@ -2039,8 +2039,6 @@
 
 		foreach ( (array) $children as $child )
 			clean_page_cache($child->ID);
-
-		$wp_rewrite->flush_rules(false);
 	} else {
 		clean_post_cache($postid);
 	}
@@ -4592,20 +4590,10 @@
 }
 
 /**
- * Hook used to prevent page/post cache and rewrite rules from staying dirty.
+ * Hook used to prevent page/post cache from staying dirty when a post is saved.
  *
- * Does two things. If the post is a page and has a template then it will
- * update/add that template to the meta. For both pages and posts, it will clean
- * the post cache to make sure that the cache updates to the changes done
- * recently. For pages, the rewrite rules of WordPress are flushed to allow for
- * any changes.
- *
- * The $post parameter, only uses 'post_type' property and 'page_template'
- * property.
- *
  * @since 2.3.0
  * @access private
- * @uses $wp_rewrite Flushes Rewrite Rules.
  *
  * @param int $post_id The ID in the database table for the $post
  * @param object $post Object type containing the post information
@@ -4613,11 +4601,6 @@
 function _save_post_hook($post_id, $post) {
 	if ( $post->post_type == 'page' ) {
 		clean_page_cache($post_id);
-		// Avoid flushing rules for every post during import.
-		if ( !defined('WP_IMPORTING') ) {
-			global $wp_rewrite;
-			$wp_rewrite->flush_rules(false);
-		}
 	} else {
 		clean_post_cache($post_id);
 	}
