Pass $tab array to callback execution for help tabs. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19154 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
21f89abdca
commit
53891da7c8
@ -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; ?>
|
||||
|
Loading…
Reference in New Issue
Block a user