From 3a1d872cfd87dd737372afd2808db63ce9b079e1 Mon Sep 17 00:00:00 2001 From: scribu Date: Sat, 21 Aug 2010 16:33:56 +0000 Subject: [PATCH] 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 --- wp-admin/includes/deprecated.php | 35 +++++++++++++++++++++++++++++++- wp-includes/deprecated.php | 34 ------------------------------- 2 files changed, 34 insertions(+), 35 deletions(-) diff --git a/wp-admin/includes/deprecated.php b/wp-admin/includes/deprecated.php index b1caac83c..ee3d07feb 100644 --- a/wp-admin/includes/deprecated.php +++ b/wp-admin/includes/deprecated.php @@ -197,4 +197,37 @@ function use_codepress() { return; } -?> \ No newline at end of file +/** + * 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(); +} + diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 0b3d631b4..c59073468 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -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(); -} -