mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Use call_user_func_array() as call_user_func() cannot pass by reference. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19155 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, $tab );
|
||||
call_user_func_array( $tab['callback'], array( $this, $tab ) );
|
||||
?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
|
||||
Reference in New Issue
Block a user