Index: post.php
===================================================================
--- post.php	(revision 29170)
+++ post.php	(working copy)
@@ -3677,7 +3677,7 @@
 	if ( ! is_array( $feeds ) )
 		$feeds = array();
 
-	$hierarchical_post_types = get_post_types( array('hierarchical' => true) );
+	$hierarchical_post_types = get_post_types();
 	if ( 'attachment' == $post_type ) {
 		// Attachment slugs must be unique across all types.
 		$check_sql = "SELECT post_name FROM $wpdb->posts WHERE post_name = %s AND ID != %d LIMIT 1";
