Move list table deprecated functions to wp-admin/includes/deprecated.php
git-svn-id: https://develop.svn.wordpress.org/trunk@15515 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7bbfb4b5f1
commit
83d019c1d9
|
@ -197,4 +197,37 @@ function use_codepress() {
|
||||||
return;
|
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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -2535,37 +2535,3 @@ function is_term( $term, $taxonomy = '', $parent = 0 ) {
|
||||||
return term_exists( $term, $taxonomy, $parent );
|
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();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue