mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 13:41:24 +01:00
Deprecate screen_meta(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e635d0befc
commit
fcba7735c0
@ -790,4 +790,17 @@ function screen_options( $screen ) {
|
|||||||
ob_start();
|
ob_start();
|
||||||
$current_screen->render_per_page_options();
|
$current_screen->render_per_page_options();
|
||||||
return ob_get_clean();
|
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;
|
return $screen;
|
||||||
}
|
}
|
||||||
|
|
||||||
function screen_meta( $screen ) {
|
|
||||||
$current_screen = get_current_screen();
|
|
||||||
$current_screen->render_screen_meta();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add contextual help text for a page.
|
* Add contextual help text for a page.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user