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:
parent
2c7897bd78
commit
b8eb1b6863
@ -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' );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user