From 31c84c9d7bbe87bb8ee14691e69320a4baeca598 Mon Sep 17 00:00:00 2001 From: nacin Date: Fri, 4 Nov 2011 15:06:11 +0000 Subject: [PATCH] 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 --- wp-admin/includes/screen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/screen.php b/wp-admin/includes/screen.php index acbe587edd..3a0bf88cec 100644 --- a/wp-admin/includes/screen.php +++ b/wp-admin/includes/screen.php @@ -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 ) ); ?>