Files
wordpress-develop/wp-admin/edit-post-rows.php
Ryan Boren b74bea8a2c Merge edit-pages.php into edit.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12728 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 16:58:36 +00:00

34 lines
557 B
PHP

<?php
/**
* Edit posts rows table for inclusion in administration panels.
*
* @package WordPress
* @subpackage Administration
*/
// don't load directly
if ( !defined('ABSPATH') )
die('-1');
?>
<table class="widefat post fixed" cellspacing="0">
<thead>
<tr>
<?php print_column_headers( $current_screen ); ?>
</tr>
</thead>
<tfoot>
<tr>
<?php print_column_headers($current_screen, false); ?>
</tr>
</tfoot>
<tbody>
<?php
if ( $post_type_object->hierarchical )
page_rows($posts, $pagenum, $per_page);
else
post_rows();
?>
</tbody>
</table>