mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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; ?>
|
||||
|
||||
Reference in New Issue
Block a user