Changeset 10182
- Timestamp:
- 12/10/2008 10:22:30 PM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-page-form.php
r10181 r10182 271 271 <h5><?php _e('Parent') ?></h5> 272 272 <label class="hidden" for="parent_id"><?php _e('Page Parent') ?></label> 273 <?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 ')); ?>273 <?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')); ?> 274 274 <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> 275 275 <?php -
trunk/wp-admin/includes/template.php
r10181 r10182 1051 1051 <span class="title"><?php _e( 'Parent' ); ?></span> 1052 1052 <?php 1053 $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 ');1053 $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'); 1054 1054 if ( $bulk ) 1055 1055 $dropdown_args['show_option_no_change'] = __('- No Change -');
Note: See TracChangeset
for help on using the changeset viewer.