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

git-svn-id: http://svn.automattic.com/wordpress/trunk@15510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
scribu 2010-08-19 00:26:48 +00:00
parent 196de8fce6
commit f01476fb54
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' );
}