Make WordPress Core

Ticket #28870: 28870.patch

File 28870.patch, 858 bytes (added by michalzuber, 10 years ago)
  • wp-admin/includes/list-table.php

     
    5555}
    5656
    5757/**
    58  * Register column headers for a particular screen.
    59  *
    60  * @since 2.7.0
    61  *
    62  * @param string $screen The handle for the screen to add help to. This is usually the hook name returned by the add_*_page() functions.
    63  * @param array $columns An array of columns with column IDs as the keys and translated column names as the values
    64  * @see get_column_headers(), print_column_headers(), get_hidden_columns()
    65  */
    66 function register_column_headers($screen, $columns) {
    67         $wp_list_table = new _WP_List_Table_Compat($screen, $columns);
    68 }
    69 
    70 /**
    7158 * Prints column headers for a particular screen.
    7259 *
    7360 * @since 2.7.0