From 0a825c74be3d0e85ca3f92ac727e263f2ed0b98e Mon Sep 17 00:00:00 2001 From: nacin Date: Fri, 4 Nov 2011 15:04:58 +0000 Subject: [PATCH] Pass $tab array to callback execution for help tabs. see #18785. git-svn-id: http://svn.automattic.com/wordpress/trunk@19154 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/screen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/screen.php b/wp-admin/includes/screen.php index c200166793..acbe587edd 100644 --- a/wp-admin/includes/screen.php +++ b/wp-admin/includes/screen.php @@ -737,7 +737,7 @@ final class WP_Screen { // If it exists, fire tab callback. if ( ! empty( $tab['callback'] ) ) - call_user_func( $tab['callback'], $this ); + call_user_func( $tab['callback'], $this, $tab ); ?>