Deprecate screen_meta(). see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18859 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f214ef7d99
commit
8bbc643454
|
@ -790,4 +790,17 @@ function screen_options( $screen ) {
|
|||
ob_start();
|
||||
$current_screen->render_per_page_options();
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
/**
|
||||
* Renders the screen's help.
|
||||
*
|
||||
* @since unknown
|
||||
* @deprecated 3.3.0
|
||||
* @deprecated Use $current_screen->render_screen_meta()
|
||||
* @see WP_Screen::render_screen_meta()
|
||||
*/
|
||||
function screen_meta( $screen ) {
|
||||
$current_screen = get_current_screen();
|
||||
$current_screen->render_screen_meta();
|
||||
}
|
|
@ -236,11 +236,6 @@ function convert_to_screen( $screen ) {
|
|||
return $screen;
|
||||
}
|
||||
|
||||
function screen_meta( $screen ) {
|
||||
$current_screen = get_current_screen();
|
||||
$current_screen->render_screen_meta();
|
||||
}
|
||||
|
||||
/**
|
||||
* Add contextual help text for a page.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue