Move list table deprecated functions to wp-admin/includes/deprecated.php

git-svn-id: https://develop.svn.wordpress.org/trunk@15515 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
scribu 2010-08-21 16:33:56 +00:00
parent 7bbfb4b5f1
commit 83d019c1d9
2 changed files with 34 additions and 35 deletions

View File

@ -197,4 +197,37 @@ function use_codepress() {
return;
}
?>
/**
* Register column headers for a particular screen.
*
* @since 2.7.0
* @deprecated 3.1.0
* @deprecated Use WP_List_Table
*/
function register_column_headers() {
_deprecated_function( __FUNCTION__, '3.1', 'WP_List_Table' );
}
/**
* Prints column headers for a particular screen.
*
* @since 2.7.0
* @deprecated 3.1.0
* @deprecated Use WP_List_Table
*/
function print_column_headers() {
_deprecated_function( __FUNCTION__, '3.1', 'WP_List_Table' );
}
/**
* Gets hidden column names for a particular screen.
*
* @since unknown
* @deprecated 3.1.0
* @deprecated Use WP_List_Table
*/
function get_hidden_columns() {
_deprecated_function( __FUNCTION__, '3.1', 'WP_List_Table' );
return array();
}

View File

@ -2535,37 +2535,3 @@ function is_term( $term, $taxonomy = '', $parent = 0 ) {
return term_exists( $term, $taxonomy, $parent );
}
/**
* Register column headers for a particular screen.
*
* @since 2.7.0
* @deprecated 3.1.0
* @deprecated Use WP_List_Table
*/
function register_column_headers() {
_deprecated_function( __FUNCTION__, '3.1', 'WP_List_Table' );
}
/**
* Prints column headers for a particular screen.
*
* @since 2.7.0
* @deprecated 3.1.0
* @deprecated Use WP_List_Table
*/
function print_column_headers() {
_deprecated_function( __FUNCTION__, '3.1', 'WP_List_Table' );
}
/**
* Gets hidden column names for a particular screen.
*
* @since unknown
* @deprecated 3.1.0
* @deprecated Use WP_List_Table
*/
function get_hidden_columns() {
_deprecated_function( __FUNCTION__, '3.1', 'WP_List_Table' );
return array();
}