diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index fa86377dbe..4e2bc39793 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -1008,7 +1008,7 @@ function wp_edit_posts_query( $q = false ) { $orderby = $q['orderby']; } elseif ( isset( $q['post_status'] ) && in_array( $q['post_status'], array( 'pending', 'draft' ) ) ) { $orderby = 'modified'; - } else { + } elseif ( ! is_post_type_hierarchical( $post_type ) ) { $orderby = 'date'; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 048bd47246..5c87a1225b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-beta2-35481'; +$wp_version = '4.4-beta2-35482'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.