Use call_user_func_array() as call_user_func() cannot pass by reference. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0a825c74be
commit
31c84c9d7b
|
@ -737,7 +737,7 @@ final class WP_Screen {
|
|||
|
||||
// If it exists, fire tab callback.
|
||||
if ( ! empty( $tab['callback'] ) )
|
||||
call_user_func( $tab['callback'], $this, $tab );
|
||||
call_user_func_array( $tab['callback'], array( $this, $tab ) );
|
||||
?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
|
|
Loading…
Reference in New Issue