Make WordPress Core


Ignore:
Timestamp:
01/15/2010 04:58:36 PM (17 years ago)
Author:
ryan
Message:

Merge edit-pages.php into edit.php. see #9674

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-post-rows.php

    r11768 r12728  
    1414        <thead>
    1515        <tr>
    16 <?php print_column_headers('edit'); ?>
     16<?php print_column_headers( $current_screen ); ?>
    1717        </tr>
    1818        </thead>
    … …  
    2020        <tfoot>
    2121        <tr>
    22 <?php print_column_headers('edit', false); ?>
     22<?php print_column_headers($current_screen, false); ?>
    2323        </tr>
    2424        </tfoot>
    2525
    2626        <tbody>
    27 <?php post_rows(); ?>
     27<?php
     28if ( $post_type_object->hierarchical )
     29        page_rows($posts, $pagenum, $per_page);
     30else
     31        post_rows();
     32?>
    2833        </tbody>
    2934</table>
Note: See TracChangeset for help on using the changeset viewer.