Fix Quick edit for non-page Hierarchical post_types. See #12643
git-svn-id: http://svn.automattic.com/wordpress/trunk@13779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
if ( !defined('ABSPATH') )
|
||||
die('-1');
|
||||
?>
|
||||
<table class="widefat <?php echo $post_type == 'page' ? 'page' : 'post'; ?> fixed" cellspacing="0">
|
||||
<table class="widefat <?php echo $post_type_object->hierarchical ? 'page' : 'post'; ?> fixed" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<?php print_column_headers( $current_screen ); ?>
|
||||
|
||||
Reference in New Issue
Block a user