diff --git src/wp-admin/includes/class-wp-posts-list-table.php src/wp-admin/includes/class-wp-posts-list-table.php
index f228805..11877c9 100644
|
|
class WP_Posts_List_Table extends WP_List_Table { |
1554 | 1554 | /** This filter is documented in wp-admin/includes/meta-boxes.php */ |
1555 | 1555 | $default_title = apply_filters( 'default_page_template_title', __( 'Default Template' ), 'quick-edit' ); |
1556 | 1556 | ?> |
1557 | | <option value="default"><?php echo esc_html( $default_title ); ?></option> |
1558 | | <?php page_template_dropdown( $post->page_template, $screen->post_type ) ?> |
| 1557 | <option value="default" <?php selected( '', $post->page_template ); ?>><?php echo esc_html( $default_title ); ?></option> |
| 1558 | <?php page_template_dropdown( '', $screen->post_type ) ?> |
1559 | 1559 | </select> |
1560 | 1560 | </label> |
1561 | 1561 | <?php endif; ?> |
diff --git src/wp-admin/includes/template.php src/wp-admin/includes/template.php
index 27eadc6..181a307 100644
|
|
function get_inline_data($post) { |
297 | 297 | echo '<div class="post_parent">' . $post->post_parent . '</div>'; |
298 | 298 | } |
299 | 299 | |
300 | | echo '<div class="page_template">' . esc_html( $post->page_template ) . '</div>'; |
| 300 | echo '<div class="page_template">' . $post->page_template ? esc_html( $post->page_template ) : 'default' . '</div>'; |
301 | 301 | |
302 | 302 | if ( post_type_supports( $post->post_type, 'page-attributes' ) ) { |
303 | 303 | echo '<div class="menu_order">' . $post->menu_order . '</div>'; |
diff --git src/wp-admin/js/inline-edit-post.js src/wp-admin/js/inline-edit-post.js
index 9582707..84ffd78 100644
|
|
inlineEditPost = { |
129 | 129 | id = t.getId(id); |
130 | 130 | } |
131 | 131 | |
132 | | fields = ['post_title', 'post_name', 'post_author', '_status', 'jj', 'mm', 'aa', 'hh', 'mn', 'ss', 'post_password', 'post_format', 'menu_order']; |
| 132 | fields = ['post_title', 'post_name', 'post_author', '_status', 'jj', 'mm', 'aa', 'hh', 'mn', 'ss', 'post_password', 'post_format', 'menu_order', 'page_template']; |
133 | 133 | if ( t.type === 'page' ) { |
134 | | fields.push('post_parent', 'page_template'); |
| 134 | fields.push('post_parent'); |
135 | 135 | } |
136 | 136 | |
137 | 137 | // add the new edit row with an extra blank row underneath to maintain zebra striping. |