mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-09 07:04:34 +00:00
Posts, Post Types: Fix Quick Edit to correctly set the page template for non-hierarchical post types.
Props dd32, swissspidy. Fixes #38655. git-svn-id: https://develop.svn.wordpress.org/trunk@39210 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -297,7 +297,7 @@ function get_inline_data($post) {
|
||||
echo '<div class="post_parent">' . $post->post_parent . '</div>';
|
||||
}
|
||||
|
||||
echo '<div class="page_template">' . esc_html( $post->page_template ) . '</div>';
|
||||
echo '<div class="page_template">' . ( $post->page_template ? esc_html( $post->page_template ) : 'default' ) . '</div>';
|
||||
|
||||
if ( post_type_supports( $post->post_type, 'page-attributes' ) ) {
|
||||
echo '<div class="menu_order">' . $post->menu_order . '</div>';
|
||||
|
||||
Reference in New Issue
Block a user