Ticket #19911: menu-order.patch
| File menu-order.patch, 1.4 KB (added by , 14 years ago) |
|---|
-
wp-admin/includes/template.php
257 257 if ( $post->post_type == 'page' ) 258 258 echo '<div class="page_template">' . esc_html( get_post_meta( $post->ID, '_wp_page_template', true ) ) . '</div>'; 259 259 260 if ( $post_type_object->hierarchical)260 if ( post_type_supports($post->post_type, 'page-attributes' ) ) 261 261 echo '<div class="menu_order">' . $post->menu_order . '</div>'; 262 262 263 263 $taxonomy_names = get_object_taxonomies( $post->post_type ); -
wp-admin/js/inline-edit-post.dev.js
129 129 if ( typeof(id) == 'object' ) 130 130 id = t.getId(id); 131 131 132 fields = ['post_title', 'post_name', 'post_author', '_status', 'jj', 'mm', 'aa', 'hh', 'mn', 'ss', 'post_password', 'post_format' ];132 fields = ['post_title', 'post_name', 'post_author', '_status', 'jj', 'mm', 'aa', 'hh', 'mn', 'ss', 'post_password', 'post_format', 'menu_order']; 133 133 if ( t.type == 'page' ) 134 fields.push('post_parent', ' menu_order', 'page_template');134 fields.push('post_parent', 'page_template'); 135 135 136 136 // add the new blank row 137 137 editRow = $('#inline-edit').clone(true);