diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index 8233055958..4c1b97e17b 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -270,7 +270,7 @@ function page_attributes_meta_box($post){ ?>
- $post->ID, 'selected' => $post->post_parent, 'name' => 'parent_id', 'show_option_none' => __('Main Page (no parent)'))); ?> + $post->ID, 'selected' => $post->post_parent, 'name' => 'parent_id', 'show_option_none' => __('Main Page (no parent)'), 'sort_column'=> 'menu_order')); ?> $post->post_parent, 'name' => 'post_parent', 'show_option_none' => __('Main Page (no parent)'), 'option_none_value' => 0); + $dropdown_args = array('selected' => $post->post_parent, 'name' => 'post_parent', 'show_option_none' => __('Main Page (no parent)'), 'option_none_value' => 0, 'sort_column'=> 'menu_order'); if ( $bulk ) $dropdown_args['show_option_no_change'] = __('- No Change -'); $dropdown_args = apply_filters('quick_edit_dropdown_pages_args', $dropdown_args);