From fcba7735c0380fa360544846b0c9e0c74cab62ef Mon Sep 17 00:00:00 2001 From: nacin Date: Sat, 1 Oct 2011 18:13:27 +0000 Subject: [PATCH] Deprecate screen_meta(). see #18785. git-svn-id: http://svn.automattic.com/wordpress/trunk@18859 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/deprecated.php | 13 +++++++++++++ wp-admin/includes/screen.php | 5 ----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/wp-admin/includes/deprecated.php b/wp-admin/includes/deprecated.php index 160a0f4ecd..b517727f72 100644 --- a/wp-admin/includes/deprecated.php +++ b/wp-admin/includes/deprecated.php @@ -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(); } \ No newline at end of file diff --git a/wp-admin/includes/screen.php b/wp-admin/includes/screen.php index 9a2365bf6c..e215942be0 100644 --- a/wp-admin/includes/screen.php +++ b/wp-admin/includes/screen.php @@ -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. *