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

git-svn-id: https://develop.svn.wordpress.org/trunk@15510 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
scribu 2010-08-19 00:26:48 +00:00
parent 2c7897bd78
commit b8eb1b6863
1 changed files with 23 additions and 0 deletions

View File

@ -2534,3 +2534,26 @@ function is_term( $term, $taxonomy = '', $parent = 0 ) {
_deprecated_function( __FUNCTION__, '3.0', 'term_exists()' );
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' );
}