Changeset 39210
- Timestamp:
- 11/13/2016 07:41:30 AM (8 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r38965 r39210 1556 1556 ?> 1557 1557 <option value="default"><?php echo esc_html( $default_title ); ?></option> 1558 <?php page_template_dropdown( $post->page_template, $screen->post_type ) ?>1558 <?php page_template_dropdown( '', $screen->post_type ) ?> 1559 1559 </select> 1560 1560 </label> -
trunk/src/wp-admin/includes/template.php
r39059 r39210 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' ) ) { -
trunk/src/wp-admin/js/inline-edit-post.js
r38797 r39210 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
Note: See TracChangeset
for help on using the changeset viewer.