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

git-svn-id: http://svn.automattic.com/wordpress/trunk@15515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
scribu 2010-08-21 16:33:56 +00:00
parent 91a362c574
commit 3a1d872cfd
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();
}