Make WordPress Core


Ignore:
Timestamp:
09/29/2008 09:26:21 AM (17 years ago)
Author:
azaozz
Message:

Add table footers and action selects at the bottom

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r9023 r9028  
    583583}
    584584
    585 function print_column_headers( $type ) {
     585function print_column_headers( $type, $id = true ) {
    586586    $columns = get_column_headers( $type );
    587587    $hidden = (array) get_user_option( "manage-$type-columns-hidden" );
     
    615615        $style = ' style="' . $style . '"';
    616616?>
    617     <th scope="col" <?php echo "id=\"$column_key\""; echo $class; echo $style?>><?php echo $column_display_name; ?></th>
     617    <th scope="col" <?php echo $id ? "id=\"$column_key\"" : ""; echo $class; echo $style; ?>><?php echo $column_display_name; ?></th>
    618618<?php }
    619619}
Note: See TracChangeset for help on using the changeset viewer.