Make WordPress Core

Changeset 15510


Ignore:
Timestamp:
08/19/2010 12:26:48 AM (14 years ago)
Author:
scribu
Message:

Add register_column_headers() and print_column_headers() to deprecated.php to prevent fatal errors in plugins. See #14579

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/deprecated.php

    r15363 r15510  
    25352535    return term_exists( $term, $taxonomy, $parent );
    25362536}
     2537
     2538/**
     2539 * Register column headers for a particular screen.
     2540 *
     2541 * @since 2.7.0
     2542 * @deprecated 3.1.0
     2543 * @deprecated Use WP_List_Table
     2544 */
     2545function register_column_headers() {
     2546    _deprecated_function( __FUNCTION__, '3.1', 'WP_List_Table' );
     2547}
     2548
     2549/**
     2550 * Prints column headers for a particular screen.
     2551 *
     2552 * @since 2.7.0
     2553 * @deprecated 3.1.0
     2554 * @deprecated Use WP_List_Table
     2555 */
     2556function print_column_headers() {
     2557    _deprecated_function( __FUNCTION__, '3.1', 'WP_List_Table' );
     2558}
     2559
Note: See TracChangeset for help on using the changeset viewer.