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
This commit is contained in:
nacin 2011-11-04 15:04:58 +00:00
parent 375689175a
commit 0a825c74be

View File

@ -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 );
?>
</div>
<?php endforeach; ?>