Sort by 'menu_order, post_title'. see #8549
git-svn-id: https://develop.svn.wordpress.org/trunk@10182 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
37363646c6
commit
625174171c
@ -270,7 +270,7 @@ function page_attributes_meta_box($post){
|
||||
?>
|
||||
<h5><?php _e('Parent') ?></h5>
|
||||
<label class="hidden" for="parent_id"><?php _e('Page Parent') ?></label>
|
||||
<?php wp_dropdown_pages(array('exclude_tree' => $post->ID, 'selected' => $post->post_parent, 'name' => 'parent_id', 'show_option_none' => __('Main Page (no parent)'), 'sort_column'=> 'menu_order')); ?>
|
||||
<?php wp_dropdown_pages(array('exclude_tree' => $post->ID, 'selected' => $post->post_parent, 'name' => 'parent_id', 'show_option_none' => __('Main Page (no parent)'), 'sort_column'=> 'menu_order, post_title')); ?>
|
||||
<p><?php _e('You can arrange your pages in hierarchies, for example you could have an “About” page that has “Life Story” and “My Dog” pages under it. There are no limits to how deeply nested you can make pages.'); ?></p>
|
||||
<?php
|
||||
if ( 0 != count( get_page_templates() ) ) {
|
||||
|
@ -1050,7 +1050,7 @@ function inline_edit_row( $type ) {
|
||||
<label>
|
||||
<span class="title"><?php _e( 'Parent' ); ?></span>
|
||||
<?php
|
||||
$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');
|
||||
$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, post_title');
|
||||
if ( $bulk )
|
||||
$dropdown_args['show_option_no_change'] = __('- No Change -');
|
||||
$dropdown_args = apply_filters('quick_edit_dropdown_pages_args', $dropdown_args);
|
||||
|
Loading…
Reference in New Issue
Block a user