mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 18:32:23 +01:00
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:
parent
375689175a
commit
0a825c74be
@ -737,7 +737,7 @@ final class WP_Screen {
|
|||||||
|
|
||||||
// If it exists, fire tab callback.
|
// If it exists, fire tab callback.
|
||||||
if ( ! empty( $tab['callback'] ) )
|
if ( ! empty( $tab['callback'] ) )
|
||||||
call_user_func( $tab['callback'], $this );
|
call_user_func( $tab['callback'], $this, $tab );
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user