From f01476fb5456ffbd3bfb977e926a5a617b2ed175 Mon Sep 17 00:00:00 2001 From: scribu Date: Thu, 19 Aug 2010 00:26:48 +0000 Subject: [PATCH] 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 --- wp-includes/deprecated.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 0895e0e1b1..527d126d4b 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -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' ); +} +