mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-27 14:53:08 +02:00
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:
parent
196de8fce6
commit
f01476fb54
@ -2534,3 +2534,26 @@ function is_term( $term, $taxonomy = '', $parent = 0 ) {
|
|||||||
_deprecated_function( __FUNCTION__, '3.0', 'term_exists()' );
|
_deprecated_function( __FUNCTION__, '3.0', 'term_exists()' );
|
||||||
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' );
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user