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:
dd32
2010-03-20 03:05:25 +00:00
parent 5d965f2c1c
commit 68562ccc93
2 changed files with 2 additions and 2 deletions

View File

@@ -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 ); ?>